org.hibernate.type.descriptor.sql
Class BinaryTypeDescriptor

java.lang.Object
  extended by org.hibernate.type.descriptor.sql.VarbinaryTypeDescriptor
      extended by org.hibernate.type.descriptor.sql.BinaryTypeDescriptor
All Implemented Interfaces:
Serializable, SqlTypeDescriptor

public class BinaryTypeDescriptor
extends VarbinaryTypeDescriptor

Descriptor for BINARY handling.

See Also:
Serialized Form

Field Summary
static BinaryTypeDescriptor INSTANCE
           
 
Constructor Summary
BinaryTypeDescriptor()
           
 
Method Summary
 int getSqlType()
          Return the JDBC type-code for the column mapped by this type.
 
Methods inherited from class org.hibernate.type.descriptor.sql.VarbinaryTypeDescriptor
canBeRemapped, getBinder, getExtractor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final BinaryTypeDescriptor INSTANCE
Constructor Detail

BinaryTypeDescriptor

public BinaryTypeDescriptor()
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 interface SqlTypeDescriptor
Overrides:
getSqlType in class VarbinaryTypeDescriptor
Returns:
typeCode The JDBC type-code


Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.