org.hibernate.engine.jdbc.internal
Class TypeInfo
java.lang.Object
org.hibernate.engine.jdbc.internal.TypeInfo
public class TypeInfo
- extends Object
Models type info extracted from DatabaseMetaData.getTypeInfo()
Constructor Summary |
TypeInfo(String typeName,
int jdbcTypeCode,
String[] createParams,
boolean unsigned,
int precision,
short minimumScale,
short maximumScale,
boolean fixedPrecisionScale,
String literalPrefix,
String literalSuffix,
boolean caseSensitive,
TypeSearchability searchability,
TypeNullability nullability)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeInfo
public TypeInfo(String typeName,
int jdbcTypeCode,
String[] createParams,
boolean unsigned,
int precision,
short minimumScale,
short maximumScale,
boolean fixedPrecisionScale,
String literalPrefix,
String literalSuffix,
boolean caseSensitive,
TypeSearchability searchability,
TypeNullability nullability)
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()
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.