Class CharJdbcType
java.lang.Object
org.hibernate.type.descriptor.jdbc.VarcharJdbcType
org.hibernate.type.descriptor.jdbc.CharJdbcType
- All Implemented Interfaces:
Serializable,AdjustableJdbcType,JdbcType
Descriptor for
CHAR handling.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintThe JDBC type code used when interacting with JDBC APIs.protected intresolveIndicatedJdbcTypeCode(JdbcTypeIndicators indicators) toString()Methods inherited from class org.hibernate.type.descriptor.jdbc.VarcharJdbcType
getBinder, getExtractor, getFriendlyName, getJdbcLiteralFormatter, getJdbcRecommendedJavaTypeMapping, getPreferredJavaTypeClass, resolveIndicatedType, shouldUseMaterializedLobMethods 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, appendWriteExpression, getCastType, getCheckCondition, getDdlTypeCode, getDefaultSqlTypeCode, getExtraCreateTableInfo, hasDatePart, hasTimePart, isArray, isBinary, isBoolean, isComparable, isDecimal, isDuration, isFloat, isImplicitJson, isImplicitXml, isInteger, isInterval, isJson, isLob, isLobOrLong, isNationalized, isNumber, isSmallInteger, isSpatial, isString, isStringLike, isStringLikeExcludingClob, isTemporal, isXml, registerOutParameter, registerOutParameter, wrapTopLevelSelectionExpression, wrapWriteExpression
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
CharJdbcType
public CharJdbcType()
-
-
Method Details
-
toString
- Overrides:
toStringin classVarcharJdbcType
-
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 classVarcharJdbcType- Returns:
- a JDBC type code
-
resolveIndicatedJdbcTypeCode
- Overrides:
resolveIndicatedJdbcTypeCodein classVarcharJdbcType
-