public class

CharTypeDescriptor

extends VarcharTypeDescriptor
java.lang.Object
   ↳ org.hibernate.type.descriptor.sql.VarcharTypeDescriptor
     ↳ org.hibernate.type.descriptor.sql.CharTypeDescriptor

Class Overview

Descriptor for CHAR handling.

Summary

Fields
public static final CharTypeDescriptor INSTANCE
[Expand]
Inherited Fields
From class org.hibernate.type.descriptor.sql.VarcharTypeDescriptor
Public Constructors
CharTypeDescriptor()
Public Methods
int getSqlType()
Return the java.sql.Types JDBC type-code for the column mapped by this type.
[Expand]
Inherited Methods
From class org.hibernate.type.descriptor.sql.VarcharTypeDescriptor
From class java.lang.Object
From interface org.hibernate.type.descriptor.sql.SqlTypeDescriptor

Fields

public static final CharTypeDescriptor INSTANCE

Public Constructors

public CharTypeDescriptor ()

Public Methods

public int getSqlType ()

Return the java.sql.Types JDBC type-code for the column mapped by this type.

Returns
  • The JDBC type-code