Interface DatabaseType
-
- All Known Subinterfaces:
JDBCType,OraclePLSQLType,SimpleDatabaseType
- All Known Implementing Classes:
ComplexDatabaseType,JDBCTypes,OracleArrayType,OracleObjectType,OraclePLSQLTypes,PLSQLCollection,PLSQLCursor,PLSQLrecord
public interface DatabaseTypePUBLIC: 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
- Author:
- Mike Norman - michael.norman@oracle.com
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDatabaseType.DatabaseTypeHelper
-
Field Summary
Fields Modifier and Type Field Description static intARGNAME_SIZE_LIMITstatic java.lang.StringCOMPAT_SHORT_PREFIXstatic java.lang.StringCOMPAT_SUFFIXstatic java.lang.StringTARGET_SHORT_PREFIXstatic java.lang.StringTARGET_SUFFIX
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidbuildBeginBlock(java.lang.StringBuilder sb, PLSQLargument arg, PLSQLStoredProcedureCall call)voidbuildInDeclare(java.lang.StringBuilder sb, PLSQLargument inArg)voidbuildOutAssignment(java.lang.StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call)voidbuildOutDeclare(java.lang.StringBuilder sb, PLSQLargument outArg)voidbuildOutputRow(PLSQLargument outArg, AbstractRecord outputRow, DatabaseRecord newOutputRow, java.util.List<DatabaseField> outputRowFields, java.util.List outputRowValues)intcomputeInIndex(PLSQLargument inArg, int newIndex, java.util.ListIterator<PLSQLargument> i)intcomputeOutIndex(PLSQLargument outArg, int newIndex, java.util.ListIterator<PLSQLargument> i)intgetConversionCode()intgetSqlCode()java.lang.StringgetTypeName()booleanisComplexDatabaseType()booleanisJDBCType()voidlogParameter(java.lang.StringBuilder sb, java.lang.Integer direction, PLSQLargument arg, AbstractRecord translationRow, DatabasePlatform platform)Deprecated.voidlogParameter(java.lang.StringBuilder sb, DatasourceCall.ParameterType direction, PLSQLargument arg, AbstractRecord translationRow, DatabasePlatform platform)voidtranslate(PLSQLargument arg, AbstractRecord translationRow, AbstractRecord copyOfTranslationRow, java.util.List<DatabaseField> copyOfTranslationFields, java.util.List<DatabaseField> translationRowFields, java.util.List translationRowValues, StoredProcedureCall call)
-
-
-
Field Detail
-
TARGET_SHORT_PREFIX
static final java.lang.String TARGET_SHORT_PREFIX
- See Also:
- Constant Field Values
-
TARGET_SUFFIX
static final java.lang.String TARGET_SUFFIX
- See Also:
- Constant Field Values
-
COMPAT_SHORT_PREFIX
static final java.lang.String COMPAT_SHORT_PREFIX
- See Also:
- Constant Field Values
-
COMPAT_SUFFIX
static final java.lang.String COMPAT_SUFFIX
- See Also:
- Constant Field Values
-
ARGNAME_SIZE_LIMIT
static final int ARGNAME_SIZE_LIMIT
-
-
Method Detail
-
isComplexDatabaseType
boolean isComplexDatabaseType()
-
isJDBCType
boolean isJDBCType()
-
getSqlCode
int getSqlCode()
-
getConversionCode
int getConversionCode()
-
getTypeName
java.lang.String getTypeName()
-
computeInIndex
int computeInIndex(PLSQLargument inArg, int newIndex, java.util.ListIterator<PLSQLargument> i)
-
computeOutIndex
int computeOutIndex(PLSQLargument outArg, int newIndex, java.util.ListIterator<PLSQLargument> i)
-
buildInDeclare
void buildInDeclare(java.lang.StringBuilder sb, PLSQLargument inArg)
-
buildOutDeclare
void buildOutDeclare(java.lang.StringBuilder sb, PLSQLargument outArg)
-
buildBeginBlock
void buildBeginBlock(java.lang.StringBuilder sb, PLSQLargument arg, PLSQLStoredProcedureCall call)
-
buildOutAssignment
void buildOutAssignment(java.lang.StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call)
-
translate
void translate(PLSQLargument arg, AbstractRecord translationRow, AbstractRecord copyOfTranslationRow, java.util.List<DatabaseField> copyOfTranslationFields, java.util.List<DatabaseField> translationRowFields, java.util.List translationRowValues, StoredProcedureCall call)
-
buildOutputRow
void buildOutputRow(PLSQLargument outArg, AbstractRecord outputRow, DatabaseRecord newOutputRow, java.util.List<DatabaseField> outputRowFields, java.util.List outputRowValues)
-
logParameter
@Deprecated void logParameter(java.lang.StringBuilder sb, java.lang.Integer direction, PLSQLargument arg, AbstractRecord translationRow, DatabasePlatform platform)Deprecated.
-
logParameter
void logParameter(java.lang.StringBuilder sb, DatasourceCall.ParameterType direction, PLSQLargument arg, AbstractRecord translationRow, DatabasePlatform platform)
-
-