Package org.hibernate.dialect
Class OracleArrayJdbcTypeConstructor
- java.lang.Object
-
- org.hibernate.dialect.OracleArrayJdbcTypeConstructor
-
- All Implemented Interfaces:
JdbcTypeConstructor
public class OracleArrayJdbcTypeConstructor extends Object implements JdbcTypeConstructor
Factory forOracleArrayJdbcType
.
-
-
Constructor Summary
Constructors Constructor Description OracleArrayJdbcTypeConstructor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDefaultSqlTypeCode()
JdbcType
resolveType(TypeConfiguration typeConfiguration, Dialect dialect, BasicType<?> elementType, ColumnTypeInformation columnTypeInformation)
Called byArrayJavaType
and friends.JdbcType
resolveType(TypeConfiguration typeConfiguration, Dialect dialect, JdbcType elementType, ColumnTypeInformation columnTypeInformation)
Called fromDialect.resolveSqlTypeDescriptor(java.lang.String, int, int, int, org.hibernate.type.descriptor.jdbc.spi.JdbcTypeRegistry)
when inferringJdbcType
s from a JDBCResultSet
or when reverse-engineering a schema.
-
-
-
Method Detail
-
resolveType
public JdbcType resolveType(TypeConfiguration typeConfiguration, Dialect dialect, BasicType<?> elementType, ColumnTypeInformation columnTypeInformation)
Description copied from interface:JdbcTypeConstructor
Called byArrayJavaType
and friends. Here we already know the type argument, which we're given as aBasicType
.- Specified by:
resolveType
in interfaceJdbcTypeConstructor
-
resolveType
public JdbcType resolveType(TypeConfiguration typeConfiguration, Dialect dialect, JdbcType elementType, ColumnTypeInformation columnTypeInformation)
Description copied from interface:JdbcTypeConstructor
Called fromDialect.resolveSqlTypeDescriptor(java.lang.String, int, int, int, org.hibernate.type.descriptor.jdbc.spi.JdbcTypeRegistry)
when inferringJdbcType
s from a JDBCResultSet
or when reverse-engineering a schema. Here we do not have a knownBasicType
.- Specified by:
resolveType
in interfaceJdbcTypeConstructor
-
getDefaultSqlTypeCode
public int getDefaultSqlTypeCode()
- Specified by:
getDefaultSqlTypeCode
in interfaceJdbcTypeConstructor
-
-