Module org.eclipse.persistence.core
Enum JDBCTypes
- All Implemented Interfaces:
Serializable,Comparable<JDBCTypes>,java.lang.constant.Constable,DatabaseType,SimpleDatabaseType,JDBCType
PUBLIC: JDBC types
- Since:
- Oracle TopLink 11.x.x
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface org.eclipse.persistence.internal.helper.DatabaseType
DatabaseType.DatabaseTypeHelper -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields inherited from interface org.eclipse.persistence.internal.helper.DatabaseType
ARGNAME_SIZE_LIMIT, COMPAT_SHORT_PREFIX, COMPAT_SUFFIX, TARGET_SHORT_PREFIX, TARGET_SUFFIX -
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) static Class<?> getClassForCode(int typeCode) intstatic DatabaseTypegetDatabaseTypeForCode(int typeCode) intbooleanbooleanvoidlogParameter(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) static JDBCTypesReturns the enum constant of this type with the specified name.static JDBCTypes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ARRAY_TYPE
-
BIGINT_TYPE
-
BINARY_TYPE
-
BIT_TYPE
-
BLOB_TYPE
-
BOOLEAN_TYPE
-
CHAR_TYPE
-
NCHAR_TYPE
-
CLOB_TYPE
-
DATALINK_TYPE
-
DATE_TYPE
-
DECIMAL_TYPE
-
DISTINCT_TYPE
-
DOUBLE_TYPE
-
FLOAT_TYPE
-
INTEGER_TYPE
-
JAVA_OBJECT_TYPE
-
LONGVARBINARY_TYPE
-
LONGVARCHAR_TYPE
-
NULL_TYPE
-
NUMERIC_TYPE
-
OTHER_TYPE
-
REAL_TYPE
-
REF_TYPE
-
SMALLINT_TYPE
-
STRUCT_TYPE
-
TIME_TYPE
-
TIMESTAMP_TYPE
-
TINYINT_TYPE
-
VARBINARY_TYPE
-
VARCHAR_TYPE
-
NVARCHAR_TYPE
-
NVARCHAR2_TYPE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
isComplexDatabaseType
public boolean isComplexDatabaseType()- Specified by:
isComplexDatabaseTypein interfaceDatabaseType
-
isJDBCType
public boolean isJDBCType()- Specified by:
isJDBCTypein interfaceDatabaseType
-
getSqlCode
public int getSqlCode()- Specified by:
getSqlCodein interfaceDatabaseType
-
getConversionCode
public int getConversionCode()- Specified by:
getConversionCodein interfaceDatabaseType
-
getTypeName
- Specified by:
getTypeNamein interfaceDatabaseType
-
computeInIndex
- Specified by:
computeInIndexin interfaceDatabaseType
-
computeOutIndex
- Specified by:
computeOutIndexin interfaceDatabaseType
-
buildInDeclare
- Specified by:
buildInDeclarein interfaceDatabaseType
-
buildOutDeclare
- Specified by:
buildOutDeclarein interfaceDatabaseType
-
buildBeginBlock
- Specified by:
buildBeginBlockin interfaceDatabaseType
-
buildOutAssignment
public void buildOutAssignment(StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call) - Specified by:
buildOutAssignmentin interfaceDatabaseType
-
translate
public void translate(PLSQLargument arg, AbstractRecord translationRow, AbstractRecord copyOfTranslationRow, List<DatabaseField> copyOfTranslationFields, List<DatabaseField> translationRowFields, List translationRowValues, StoredProcedureCall call) - Specified by:
translatein interfaceDatabaseType
-
buildOutputRow
public void buildOutputRow(PLSQLargument outArg, AbstractRecord outputRow, DatabaseRecord newOutputRow, List<DatabaseField> outputRowFields, List outputRowValues) - Specified by:
buildOutputRowin interfaceDatabaseType
-
logParameter
public void logParameter(StringBuilder sb, DatasourceCall.ParameterType direction, PLSQLargument arg, AbstractRecord translationRow, DatabasePlatform platform) - Specified by:
logParameterin interfaceDatabaseType
-
getDatabaseTypeForCode
-
getClassForCode
-