Class PLSQLargument
- java.lang.Object
-
- org.eclipse.persistence.platform.database.oracle.plsql.PLSQLargument
-
-
Field Summary
Fields Modifier and Type Field Description boolean
cursorOutput
DatabaseType
databaseType
int
direction
int
inIndex
int
length
String
name
int
originalIndex
int
outIndex
int
precision
int
scale
-
Constructor Summary
Constructors Constructor Description PLSQLargument()
PLSQLargument(String name, int originalIndex, int direction, DatabaseType databaseType)
PLSQLargument(String name, int originalIndex, int direction, DatabaseType databaseType, int length)
PLSQLargument(String name, int originalIndex, int direction, DatabaseType databaseType, int precision, int scale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PLSQLargument
clone()
void
setIsNonAssociativeCollection(boolean isNonAsscociative)
Sets flag on this argument's database type indicating that it represents a non-associative collection, i.e.String
toString()
void
useNamedCursorOutputAsResultSet()
-
-
-
Field Detail
-
name
public String name
-
direction
public int direction
-
originalIndex
public int originalIndex
-
inIndex
public int inIndex
-
outIndex
public int outIndex
-
databaseType
public DatabaseType databaseType
-
length
public int length
-
precision
public int precision
-
scale
public int scale
-
cursorOutput
public boolean cursorOutput
-
-
Constructor Detail
-
PLSQLargument
public PLSQLargument()
-
PLSQLargument
public PLSQLargument(String name, int originalIndex, int direction, DatabaseType databaseType)
-
PLSQLargument
public PLSQLargument(String name, int originalIndex, int direction, DatabaseType databaseType, int length)
-
PLSQLargument
public PLSQLargument(String name, int originalIndex, int direction, DatabaseType databaseType, int precision, int scale)
-
-
Method Detail
-
clone
protected PLSQLargument clone()
-
useNamedCursorOutputAsResultSet
public void useNamedCursorOutputAsResultSet()
-
setIsNonAssociativeCollection
public void setIsNonAssociativeCollection(boolean isNonAsscociative)
Sets flag on this argument's database type indicating that it represents a non-associative collection, i.e. Nested Table (as opposed to a Varray). The value should be false (default) for associative/indexed collections (Varrays), and true for non-associative collections (Nested Tables). It is assumed that the database type has been determined to be a PLSQLCollection prior to calling this method - if this argument's database type is not a PLSQLCollection, no operation is performed. The preferred method of flagging a PLSQCollection as a Nested Table is to use the setIsNestedTable(boolean) method directly on PLSQLCollection.- Parameters:
isNonAsscociative
- true indicates this argument's database type represents a Nested Table- See Also:
PLSQLCollection
-
-