类 TypeInfo
- java.lang.Object
-
- org.hibernate.engine.jdbc.spi.TypeInfo
-
public class TypeInfo extends Object
Models type info extracted fromDatabaseMetaData.getTypeInfo()- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static LinkedHashSet<TypeInfo>extractTypeInfo(DatabaseMetaData metaData)Extract the type information from the JDBC driver's DatabaseMetaDataString[]getCreateParams()intgetJdbcTypeCode()StringgetLiteralPrefix()StringgetLiteralSuffix()shortgetMaximumScale()shortgetMinimumScale()TypeNullabilitygetNullability()intgetPrecision()TypeSearchabilitygetSearchability()StringgetTypeName()booleanisCaseSensitive()booleanisFixedPrecisionScale()booleanisUnsigned()
-
-
-
方法详细资料
-
extractTypeInfo
public static LinkedHashSet<TypeInfo> extractTypeInfo(DatabaseMetaData metaData)
Extract the type information from the JDBC driver's DatabaseMetaData- 参数:
metaData- The JDBC metadata- 返回:
- The extracted type info
-
getTypeName
public String getTypeName()
-
getJdbcTypeCode
public int getJdbcTypeCode()
-
getCreateParams
public String[] getCreateParams()
-
isUnsigned
public boolean isUnsigned()
-
getPrecision
public int getPrecision()
-
getMinimumScale
public short getMinimumScale()
-
getMaximumScale
public short getMaximumScale()
-
isFixedPrecisionScale
public boolean isFixedPrecisionScale()
-
getLiteralPrefix
public String getLiteralPrefix()
-
getLiteralSuffix
public String getLiteralSuffix()
-
isCaseSensitive
public boolean isCaseSensitive()
-
getSearchability
public TypeSearchability getSearchability()
-
getNullability
public TypeNullability getNullability()
-
-