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
Descriptor for
NUMERIC handling.- Author:
- Steve Ebersole
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintThe JDBC type code used when interacting with JDBC APIs.toString()Methods inherited from class org.hibernate.type.descriptor.jdbc.DecimalJdbcType
getBinder, getExtractor, getFriendlyName, getJdbcLiteralFormatter, getJdbcRecommendedJavaTypeMapping, getPreferredJavaTypeClassMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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 Details
-
INSTANCE
-
-
Constructor Details
-
NumericJdbcType
public NumericJdbcType()
-
-
Method Details
-
toString
- Overrides:
toStringin classDecimalJdbcType
-
getJdbcTypeCode
public int getJdbcTypeCode()Description copied from interface:JdbcTypeThe JDBC type code used when interacting with JDBC APIs.For example, it's used when calling
PreparedStatement.setNull(int, int).- Specified by:
getJdbcTypeCodein interfaceJdbcType- Overrides:
getJdbcTypeCodein classDecimalJdbcType- Returns:
- a JDBC type code
-