Package org.hibernate.engine.jdbc.spi
Class TypeInfo
- java.lang.Object
-
- org.hibernate.engine.jdbc.spi.TypeInfo
-
public class TypeInfo extends java.lang.ObjectModels type info extracted fromDatabaseMetaData.getTypeInfo()
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.LinkedHashSet<TypeInfo>extractTypeInfo(java.sql.DatabaseMetaData metaData)Extract the type information from the JDBC driver's DatabaseMetaDatajava.lang.String[]getCreateParams()intgetJdbcTypeCode()java.lang.StringgetLiteralPrefix()java.lang.StringgetLiteralSuffix()shortgetMaximumScale()shortgetMinimumScale()TypeNullabilitygetNullability()intgetPrecision()TypeSearchabilitygetSearchability()java.lang.StringgetTypeName()booleanisCaseSensitive()booleanisFixedPrecisionScale()booleanisUnsigned()
-
-
-
Method Detail
-
extractTypeInfo
public static java.util.LinkedHashSet<TypeInfo> extractTypeInfo(java.sql.DatabaseMetaData metaData)
Extract the type information from the JDBC driver's DatabaseMetaData- Parameters:
metaData- The JDBC metadata- Returns:
- The extracted type info
-
getTypeName
public java.lang.String getTypeName()
-
getJdbcTypeCode
public int getJdbcTypeCode()
-
getCreateParams
public java.lang.String[] getCreateParams()
-
isUnsigned
public boolean isUnsigned()
-
getPrecision
public int getPrecision()
-
getMinimumScale
public short getMinimumScale()
-
getMaximumScale
public short getMaximumScale()
-
isFixedPrecisionScale
public boolean isFixedPrecisionScale()
-
getLiteralPrefix
public java.lang.String getLiteralPrefix()
-
getLiteralSuffix
public java.lang.String getLiteralSuffix()
-
isCaseSensitive
public boolean isCaseSensitive()
-
getSearchability
public TypeSearchability getSearchability()
-
getNullability
public TypeNullability getNullability()
-
-