Class NCharTypeDescriptor
- java.lang.Object
-
- org.hibernate.type.descriptor.sql.NVarcharTypeDescriptor
-
- org.hibernate.type.descriptor.sql.NCharTypeDescriptor
-
- All Implemented Interfaces:
java.io.Serializable
,SqlTypeDescriptor
public class NCharTypeDescriptor extends NVarcharTypeDescriptor
Descriptor forNCHAR
handling.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NCharTypeDescriptor
INSTANCE
-
Constructor Summary
Constructors Constructor Description NCharTypeDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getSqlType()
Return the JDBC type-code for the column mapped by this type.-
Methods inherited from class org.hibernate.type.descriptor.sql.NVarcharTypeDescriptor
canBeRemapped, getBinder, getExtractor
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.type.descriptor.sql.SqlTypeDescriptor
getJdbcRecommendedJavaTypeMapping
-
-
-
-
Field Detail
-
INSTANCE
public static final NCharTypeDescriptor INSTANCE
-
-
Method Detail
-
getSqlType
public int getSqlType()
Description copied from interface:SqlTypeDescriptor
Return the JDBC type-code for the column mapped by this type.- Specified by:
getSqlType
in interfaceSqlTypeDescriptor
- Overrides:
getSqlType
in classNVarcharTypeDescriptor
- Returns:
- typeCode The JDBC type-code
-
-