Package org.hibernate.engine.jdbc.spi
Class TypeInfo
java.lang.Object
org.hibernate.engine.jdbc.spi.TypeInfo
Models type info extracted from
DatabaseMetaData.getTypeInfo()
-
Method Summary
Modifier and TypeMethodDescriptionstatic LinkedHashSet<TypeInfo>
extractTypeInfo
(DatabaseMetaData metaData) Extract the type information from the JDBC driver's DatabaseMetaDataString[]
int
short
short
int
boolean
boolean
boolean
-
Method Details
-
extractTypeInfo
Extract the type information from the JDBC driver's DatabaseMetaData- Parameters:
metaData
- The JDBC metadata- Returns:
- The extracted type info
-
getTypeName
-
getJdbcTypeCode
public int getJdbcTypeCode() -
getCreateParams
-
isUnsigned
public boolean isUnsigned() -
getPrecision
public int getPrecision() -
getMinimumScale
public short getMinimumScale() -
getMaximumScale
public short getMaximumScale() -
isFixedPrecisionScale
public boolean isFixedPrecisionScale() -
getLiteralPrefix
-
getLiteralSuffix
-
isCaseSensitive
public boolean isCaseSensitive() -
getSearchability
-
getNullability
-