Class LongVarcharJdbcType
- java.lang.Object
-
- org.hibernate.type.descriptor.jdbc.VarcharJdbcType
-
- org.hibernate.type.descriptor.jdbc.LongVarcharJdbcType
-
- All Implemented Interfaces:
Serializable
,AdjustableJdbcType
,JdbcType
public class LongVarcharJdbcType extends VarcharJdbcType
Descriptor forLONGVARCHAR
handling.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static LongVarcharJdbcType
INSTANCE
-
Constructor Summary
Constructors Constructor Description LongVarcharJdbcType()
LongVarcharJdbcType(int jdbcTypeCode)
-
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.JdbcType
resolveIndicatedType(JdbcTypeIndicators indicators, JavaType<?> domainJtd)
Perform the adjustmentString
toString()
-
Methods inherited from class org.hibernate.type.descriptor.jdbc.VarcharJdbcType
getBinder, getExtractor, getFriendlyName, getJdbcLiteralFormatter, getJdbcRecommendedJavaTypeMapping, getPreferredJavaTypeClass, resolveIndicatedJdbcTypeCode, shouldUseMaterializedLob
-
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, isBinary, isDecimal, isDuration, isFloat, isInteger, isInterval, isLob, isLobOrLong, isNationalized, isNumber, isString, isStringLike, isTemporal, registerOutParameter, registerOutParameter, wrapTopLevelSelectionExpression, wrapWriteExpression
-
-
-
-
Field Detail
-
INSTANCE
public static final LongVarcharJdbcType INSTANCE
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toString
in classVarcharJdbcType
-
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 classVarcharJdbcType
- Returns:
- a JDBC type code
-
resolveIndicatedType
public JdbcType resolveIndicatedType(JdbcTypeIndicators indicators, JavaType<?> domainJtd)
Description copied from interface:AdjustableJdbcType
Perform the adjustment- Specified by:
resolveIndicatedType
in interfaceAdjustableJdbcType
- Overrides:
resolveIndicatedType
in classVarcharJdbcType
-
-