org.hibernate.type.descriptor.sql
Class NClobTypeDescriptor

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

public abstract class NClobTypeDescriptor
extends Object
implements SqlTypeDescriptor

Descriptor for NCLOB handling.

See Also:
Serialized Form

Field Summary
static NClobTypeDescriptor DEFAULT
           
static NClobTypeDescriptor NCLOB_BINDING
           
static NClobTypeDescriptor STREAM_BINDING
           
 
Constructor Summary
NClobTypeDescriptor()
           
 
Method Summary
 boolean canBeRemapped()
          Is this descriptor available for remapping?
<X> ValueBinder<X>
getBinder(JavaTypeDescriptor<X> javaTypeDescriptor)
           
<X> ValueExtractor<X>
getExtractor(JavaTypeDescriptor<X> javaTypeDescriptor)
           
protected abstract
<X> BasicBinder<X>
getNClobBinder(JavaTypeDescriptor<X> javaTypeDescriptor)
           
 int getSqlType()
          Return the JDBC type-code for the column mapped by this type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final NClobTypeDescriptor DEFAULT

NCLOB_BINDING

public static final NClobTypeDescriptor NCLOB_BINDING

STREAM_BINDING

public static final NClobTypeDescriptor STREAM_BINDING
Constructor Detail

NClobTypeDescriptor

public NClobTypeDescriptor()
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
Returns:
typeCode The JDBC type-code

canBeRemapped

public boolean canBeRemapped()
Description copied from interface: SqlTypeDescriptor
Is this descriptor available for remapping?

Specified by:
canBeRemapped in interface SqlTypeDescriptor
Returns:
true indicates this descriptor can be remapped; otherwise, false
See Also:
WrapperOptions.remapSqlTypeDescriptor(org.hibernate.type.descriptor.sql.SqlTypeDescriptor), Dialect.remapSqlTypeDescriptor(org.hibernate.type.descriptor.sql.SqlTypeDescriptor)

getExtractor

public <X> ValueExtractor<X> getExtractor(JavaTypeDescriptor<X> javaTypeDescriptor)
Specified by:
getExtractor in interface SqlTypeDescriptor

getNClobBinder

protected abstract <X> BasicBinder<X> getNClobBinder(JavaTypeDescriptor<X> javaTypeDescriptor)

getBinder

public <X> ValueBinder<X> getBinder(JavaTypeDescriptor<X> javaTypeDescriptor)
Specified by:
getBinder in interface SqlTypeDescriptor


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