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
-
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 DecimalJdbcType
getBinder, getExtractor, getFriendlyName, getJdbcLiteralFormatter, getPreferredJavaTypeClass, getRecommendedJavaTypeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface JdbcType
addAuxiliaryDatabaseObjects, appendWriteExpression, appendWriteExpression, castFromPattern, castToPattern, getCastType, getCheckCondition, getDdlTypeCode, getDefaultSqlTypeCode, getExtraCreateTableInfo, getJdbcRecommendedJavaTypeMapping, hasDatePart, hasTimePart, isArray, isBinary, isBoolean, isComparable, isDecimal, isDuration, isFloat, isImplicitJson, isImplicitXml, isInteger, isInterval, isJson, isLob, isLobOrLong, isNationalized, isNumber, isSmallInteger, isSpatial, isString, isStringLike, isStringLikeExcludingClob, isTemporal, isWriteExpressionTyped, isXml, registerOutParameter, registerOutParameter, wrapTopLevelSelectionExpression, wrapWriteExpression, 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
-