public abstract class AbstractSingleColumnStandardBasicType<T> extends AbstractStandardBasicType<T> implements SingleColumnType<T>
Constructor and Description |
---|
AbstractSingleColumnStandardBasicType(SqlTypeDescriptor sqlTypeDescriptor,
JavaTypeDescriptor<T> javaTypeDescriptor) |
Modifier and Type | Method and Description |
---|---|
Object |
get(ResultSet rs,
String name)
Deprecated.
|
T |
nullSafeGet(ResultSet rs,
String name)
Deprecated.
|
void |
nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SessionImplementor session)
Write an instance of the mapped class to a prepared statement, ignoring some columns.
|
void |
nullSafeSet(PreparedStatement st,
T value,
int index)
Deprecated.
|
void |
set(PreparedStatement st,
T value,
int index)
Deprecated.
|
int |
sqlType() |
assemble, beforeAssemble, compare, deepCopy, deepCopy, disassemble, fromString, fromStringValue, fromXMLNode, fromXMLString, get, getColumnSpan, getHashCode, getHashCode, getHashCode, getJavaTypeDescriptor, getMutabilityPlan, getRegistrationKeys, getReplacement, getReturnedClass, getSemiResolvedType, getSqlTypeDescriptor, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isDirty, isEntityType, isEqual, isEqual, isEqual, isModified, isMutable, isSame, isSame, isXMLElement, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, registerUnderJavaType, replace, replace, resolve, semiResolve, set, setToXMLNode, sqlTypes, toColumnNullness, toLoggableString, toString, toXMLString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromStringValue, get, nullSafeGet, set, toString
assemble, beforeAssemble, compare, deepCopy, disassemble, fromXMLNode, getColumnSpan, getHashCode, getHashCode, getName, getReturnedClass, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, isXMLElement, nullSafeGet, nullSafeGet, nullSafeSet, replace, replace, resolve, semiResolve, setToXMLNode, sqlTypes, toColumnNullness, toLoggableString
public AbstractSingleColumnStandardBasicType(SqlTypeDescriptor sqlTypeDescriptor, JavaTypeDescriptor<T> javaTypeDescriptor)
public final int sqlType()
sqlType
in interface SingleColumnType<T>
public T nullSafeGet(ResultSet rs, String name) throws HibernateException, SQLException
AbstractStandardBasicType.nullSafeGet(ResultSet, String, SessionImplementor)
insteadnullSafeGet
in interface SingleColumnType<T>
HibernateException
SQLException
public Object get(ResultSet rs, String name) throws HibernateException, SQLException
AbstractStandardBasicType.get(ResultSet, String, SessionImplementor)
instead.get
in interface SingleColumnType<T>
HibernateException
SQLException
public final void nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SessionImplementor session) throws HibernateException, SQLException
nullSafeSet
in interface Type
value
- the object to writeindex
- statement parameter indexsettable
- an array indicating which columns to ignoreHibernateException
SQLException
public void nullSafeSet(PreparedStatement st, T value, int index) throws HibernateException, SQLException
AbstractStandardBasicType.nullSafeSet(PreparedStatement, Object, int, SessionImplementor)
instead.nullSafeSet
in interface SingleColumnType<T>
HibernateException
SQLException
public void set(PreparedStatement st, T value, int index) throws HibernateException, SQLException
AbstractStandardBasicType.set(PreparedStatement, Object, int, SessionImplementor)
instead.set
in interface SingleColumnType<T>
HibernateException
SQLException
Copyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved