public interface SqlTypeDescriptor extends Serializable
SqlTypeDescriptor
. The built-in Hibernate
implementations register themselves on construction.Modifier and Type | Method and Description |
---|---|
boolean |
canBeRemapped()
Is this descriptor available for remapping?
|
<X> ValueBinder<X> |
getBinder(JavaTypeDescriptor<X> javaTypeDescriptor)
Get the binder (setting JDBC in-going parameter values) capable of handling values of the type described by the
passed descriptor.
|
<X> ValueExtractor<X> |
getExtractor(JavaTypeDescriptor<X> javaTypeDescriptor)
Get the extractor (pulling out-going values from JDBC objects) capable of handling values of the type described
by the passed descriptor.
|
int |
getSqlType()
Return the JDBC type-code for the column mapped by this type.
|
int getSqlType()
boolean canBeRemapped()
true
indicates this descriptor can be remapped; otherwise, false
WrapperOptions.remapSqlTypeDescriptor(org.hibernate.type.descriptor.sql.SqlTypeDescriptor)
,
Dialect.remapSqlTypeDescriptor(org.hibernate.type.descriptor.sql.SqlTypeDescriptor)
<X> ValueBinder<X> getBinder(JavaTypeDescriptor<X> javaTypeDescriptor)
javaTypeDescriptor
- The descriptor describing the types of Java values to be bound<X> ValueExtractor<X> getExtractor(JavaTypeDescriptor<X> javaTypeDescriptor)
javaTypeDescriptor
- The descriptor describing the types of Java values to be extractedCopyright © 2016 JBoss by Red Hat. All rights reserved.