Class SybaseJtdsNClobJdbcType
java.lang.Object
org.hibernate.type.descriptor.jdbc.NClobJdbcType
org.hibernate.dialect.SybaseJtdsNClobJdbcType
- All Implemented Interfaces:
Serializable, JdbcType
Specialized type mapping for
NCLOB that binds UTF-16LE bytes,
because the jTDS driver can't handle Unicode characters and doesn't support nationalized methods.
For extraction, the getString method works fine though.- See Also:
-
Field Summary
FieldsFields inherited from class NClobJdbcType
DEFAULT, MATERIALIZED, NCLOB_BINDING, STREAM_BINDING, STREAM_BINDING_EXTRACTING, STRING_BINDING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<X> ValueExtractor<X> getExtractor(JavaType<X> javaType) protected <X> BasicBinder<X> getNClobBinder(JavaType<X> javaType) toString()Methods inherited from class NClobJdbcType
getBinder, getExtraCreateTableInfo, getFriendlyName, getJdbcTypeCodeMethods 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, getJdbcLiteralFormatter, getJdbcRecommendedJavaTypeMapping, getPreferredJavaTypeClass, getRecommendedJavaType, 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
-
JTDS_INSTANCE
-
-
Constructor Details
-
SybaseJtdsNClobJdbcType
public SybaseJtdsNClobJdbcType()
-
-
Method Details
-
toString
- Overrides:
toStringin classNClobJdbcType
-
getNClobBinder
- Specified by:
getNClobBinderin classNClobJdbcType
-
getExtractor
Description copied from interface:JdbcTypeObtain an extractor object capable of extracting values of the given Java type from a JDBCResultSet.- Specified by:
getExtractorin interfaceJdbcType- Overrides:
getExtractorin classNClobJdbcType- Parameters:
javaType- The descriptor describing the types of Java values to be extracted- Returns:
- The appropriate extractor
-