public class BitTypeDescriptor extends Object implements SqlTypeDescriptor
BIT handling.
 
 Note that JDBC is very specific about its use of the type BIT to mean a single binary digit, whereas
 SQL defines BIT having a parameterized length.| Modifier and Type | Field and Description | 
|---|---|
static BitTypeDescriptor | 
INSTANCE  | 
| Constructor and Description | 
|---|
BitTypeDescriptor()  | 
| 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. 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetJdbcRecommendedJavaTypeMappingpublic static final BitTypeDescriptor INSTANCE
public int getSqlType()
SqlTypeDescriptorgetSqlType in interface SqlTypeDescriptorpublic boolean canBeRemapped()
SqlTypeDescriptorcanBeRemapped in interface SqlTypeDescriptortrue indicates this descriptor can be remapped; otherwise, falseWrapperOptions.remapSqlTypeDescriptor(org.hibernate.type.descriptor.sql.SqlTypeDescriptor), 
Dialect.remapSqlTypeDescriptor(org.hibernate.type.descriptor.sql.SqlTypeDescriptor)public <X> ValueBinder<X> getBinder(JavaTypeDescriptor<X> javaTypeDescriptor)
SqlTypeDescriptorgetBinder in interface SqlTypeDescriptorjavaTypeDescriptor - The descriptor describing the types of Java values to be boundpublic <X> ValueExtractor<X> getExtractor(JavaTypeDescriptor<X> javaTypeDescriptor)
SqlTypeDescriptorgetExtractor in interface SqlTypeDescriptorjavaTypeDescriptor - The descriptor describing the types of Java values to be extractedCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.