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
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
buildBeginBlock
(StringBuilder sb, PLSQLargument arg, PLSQLStoredProcedureCall call) void
buildInDeclare
(StringBuilder sb, PLSQLargument inArg) void
buildOutAssignment
(StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call) void
buildOutDeclare
(StringBuilder sb, PLSQLargument outArg) void
buildOutputRow
(PLSQLargument outArg, AbstractRecord outputRow, DatabaseRecord newOutputRow, List<DatabaseField> outputRowFields, List outputRowValues) int
computeInIndex
(PLSQLargument inArg, int newIndex, ListIterator<PLSQLargument> i) int
computeOutIndex
(PLSQLargument outArg, int newIndex, ListIterator<PLSQLargument> i) int
int
boolean
boolean
void
logParameter
(StringBuilder sb, DatasourceCall.ParameterType direction, PLSQLargument arg, AbstractRecord translationRow, DatabasePlatform platform) void
translate
(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)
-