Class LongNVarcharJdbcType
java.lang.Object
org.hibernate.type.descriptor.jdbc.NVarcharJdbcType
org.hibernate.type.descriptor.jdbc.LongNVarcharJdbcType
- All Implemented Interfaces:
Serializable, AdjustableJdbcType, JdbcType
Descriptor for
LONGNVARCHAR handling.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLongNVarcharJdbcType(int defaultSqlTypeCode) LongNVarcharJdbcType(int defaultSqlTypeCode, int ddlTypeCode) -
Method Summary
Modifier and TypeMethodDescriptionintA JDBC type code that identifies the SQL column type used for schema generation.intA JDBC type code that identifies the SQL column type.intThe JDBC type code used when interacting with JDBC APIs.resolveIndicatedType(JdbcTypeIndicators indicators, JavaType<?> domainJtd) Perform the adjustmenttoString()Methods inherited from class NVarcharJdbcType
getBinder, getExtractor, getFriendlyName, getJdbcLiteralFormatter, getPreferredJavaTypeClass, getRecommendedJavaType, shouldUseMaterializedLobMethods 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, 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
-
LongNVarcharJdbcType
public LongNVarcharJdbcType() -
LongNVarcharJdbcType
public LongNVarcharJdbcType(int defaultSqlTypeCode) -
LongNVarcharJdbcType
public LongNVarcharJdbcType(int defaultSqlTypeCode, int ddlTypeCode)
-
-
Method Details
-
toString
- Overrides:
toStringin classNVarcharJdbcType
-
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 classNVarcharJdbcType- Returns:
- a JDBC type code
-
getDdlTypeCode
public int getDdlTypeCode()Description copied from interface:JdbcTypeA JDBC type code that identifies the SQL column type used for schema generation.This value is passed to
DdlTypeRegistry.getTypeName(int, Size, Type)to obtain the SQL column type.- Returns:
- a JDBC type code
-
getDefaultSqlTypeCode
public int getDefaultSqlTypeCode()Description copied from interface:JdbcTypeA JDBC type code that identifies the SQL column type.This value might be different from
JdbcType.getDdlTypeCode()if the actual type e.g. JSON is emulated through a type like CLOB.- Returns:
- a JDBC type code
-
resolveIndicatedType
Description copied from interface:AdjustableJdbcTypePerform the adjustment- Specified by:
resolveIndicatedTypein interfaceAdjustableJdbcType- Overrides:
resolveIndicatedTypein classNVarcharJdbcType
-