org.hibernate.type.descriptor.sql
Class BinaryTypeDescriptor
java.lang.Object
org.hibernate.type.descriptor.sql.VarbinaryTypeDescriptor
org.hibernate.type.descriptor.sql.BinaryTypeDescriptor
- All Implemented Interfaces:
- Serializable, SqlTypeDescriptor
public class BinaryTypeDescriptor
- extends VarbinaryTypeDescriptor
Descriptor for BINARY
handling.
- Author:
- Steve Ebersole
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final BinaryTypeDescriptor INSTANCE
BinaryTypeDescriptor
public BinaryTypeDescriptor()
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:
- The JDBC type-code
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.