Class NumericJdbcType
- java.lang.Object
-
- org.hibernate.type.descriptor.jdbc.DecimalJdbcType
-
- org.hibernate.type.descriptor.jdbc.NumericJdbcType
-
- All Implemented Interfaces:
Serializable
,JdbcType
- Direct Known Subclasses:
DurationJdbcType
public class NumericJdbcType extends DecimalJdbcType
Descriptor forNUMERIC
handling.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NumericJdbcType
INSTANCE
-
Constructor Summary
Constructors Constructor Description NumericJdbcType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getJdbcTypeCode()
The JDBC type code used when interacting with JDBC APIs.String
toString()
-
Methods inherited from class org.hibernate.type.descriptor.jdbc.DecimalJdbcType
getBinder, getExtractor, getFriendlyName, getJdbcLiteralFormatter, getJdbcRecommendedJavaTypeMapping, getPreferredJavaTypeClass
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.type.descriptor.jdbc.JdbcType
addAuxiliaryDatabaseObjects, addAuxiliaryDatabaseObjects, appendWriteExpression, getCastType, getCheckCondition, getDdlTypeCode, getDefaultSqlTypeCode, getExtraCreateTableInfo, hasDatePart, hasTimePart, isArray, isBinary, isBoolean, isComparable, isDecimal, isDuration, isFloat, isInteger, isInterval, isLob, isLobOrLong, isNationalized, isNumber, isSmallInteger, isSpatial, isString, isStringLike, isStringLikeExcludingClob, isTemporal, registerOutParameter, registerOutParameter, wrapTopLevelSelectionExpression, wrapWriteExpression
-
-
-
-
Field Detail
-
INSTANCE
public static final NumericJdbcType INSTANCE
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toString
in classDecimalJdbcType
-
getJdbcTypeCode
public int getJdbcTypeCode()
Description copied from interface:JdbcType
The JDBC type code used when interacting with JDBC APIs.For example, it's used when calling
PreparedStatement.setNull(int, int)
.- Specified by:
getJdbcTypeCode
in interfaceJdbcType
- Overrides:
getJdbcTypeCode
in classDecimalJdbcType
- Returns:
- a JDBC type code
-
-