Module org.eclipse.persistence.core
Interface DatabaseType
- All Known Subinterfaces:
JDBCType,OraclePLSQLType,SimpleDatabaseType
- All Known Implementing Classes:
ComplexDatabaseType,JDBCTypes,OracleArrayType,OracleObjectType,OraclePLSQLTypes,PLSQLCollection,PLSQLCursor,PLSQLrecord
public interface DatabaseType
PUBLIC: Interface used to categorize arguments to Stored Procedures as either
'simple' (use subclass SimpleDatabaseType) or 'complex' (use subclass ComplexDatabaseType)
- Since:
- Oracle TopLink 11.x.x
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildBeginBlock(StringBuilder sb, PLSQLargument arg, PLSQLStoredProcedureCall call) voidbuildInDeclare(StringBuilder sb, PLSQLargument inArg) voidbuildOutAssignment(StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call) voidbuildOutDeclare(StringBuilder sb, PLSQLargument outArg) voidbuildOutputRow(PLSQLargument outArg, AbstractRecord outputRow, DatabaseRecord newOutputRow, List<DatabaseField> outputRowFields, List outputRowValues) intcomputeInIndex(PLSQLargument inArg, int newIndex, ListIterator<PLSQLargument> i) intcomputeOutIndex(PLSQLargument outArg, int newIndex, ListIterator<PLSQLargument> i) intintbooleanbooleanvoidlogParameter(StringBuilder sb, DatasourceCall.ParameterType direction, PLSQLargument arg, AbstractRecord translationRow, DatabasePlatform platform) voidtranslate(PLSQLargument arg, AbstractRecord translationRow, AbstractRecord copyOfTranslationRow, List<DatabaseField> copyOfTranslationFields, List<DatabaseField> translationRowFields, List translationRowValues, StoredProcedureCall call)
-
Field Details
-
TARGET_SHORT_PREFIX
- See Also:
-
TARGET_SUFFIX
- See Also:
-
COMPAT_SHORT_PREFIX
- See Also:
-
COMPAT_SUFFIX
- See Also:
-
ARGNAME_SIZE_LIMIT
static final int ARGNAME_SIZE_LIMIT
-
-
Method Details
-
isComplexDatabaseType
boolean isComplexDatabaseType() -
isJDBCType
boolean isJDBCType() -
getSqlCode
int getSqlCode() -
getConversionCode
int getConversionCode() -
getTypeName
String getTypeName() -
computeInIndex
-
computeOutIndex
-
buildInDeclare
-
buildOutDeclare
-
buildBeginBlock
-
buildOutAssignment
-
translate
void translate(PLSQLargument arg, AbstractRecord translationRow, AbstractRecord copyOfTranslationRow, List<DatabaseField> copyOfTranslationFields, List<DatabaseField> translationRowFields, List translationRowValues, StoredProcedureCall call) -
buildOutputRow
void buildOutputRow(PLSQLargument outArg, AbstractRecord outputRow, DatabaseRecord newOutputRow, List<DatabaseField> outputRowFields, List outputRowValues) -
logParameter
void logParameter(StringBuilder sb, DatasourceCall.ParameterType direction, PLSQLargument arg, AbstractRecord translationRow, DatabasePlatform platform)
-