Class ArrayJdbcTypeConstructor
java.lang.Object
org.hibernate.type.descriptor.jdbc.ArrayJdbcTypeConstructor
- All Implemented Interfaces:
JdbcTypeConstructor
Factory for
ArrayJdbcType
.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
resolveType
(TypeConfiguration typeConfiguration, Dialect dialect, BasicType<?> elementType, ColumnTypeInformation columnTypeInformation) Called byArrayJavaType
and friends.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.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ArrayJdbcTypeConstructor
public ArrayJdbcTypeConstructor()
-
-
Method Details
-
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
-