|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.type.AbstractStandardBasicType<T>
org.hibernate.type.AbstractSingleColumnStandardBasicType<T>
public abstract class AbstractSingleColumnStandardBasicType<T>
TODO : javadoc
| Constructor Summary | |
|---|---|
AbstractSingleColumnStandardBasicType(SqlTypeDescriptor sqlTypeDescriptor,
JavaTypeDescriptor<T> javaTypeDescriptor)
|
|
| Method Summary | |
|---|---|
Object |
get(ResultSet rs,
String name)
DO NOT USER THIS FORM! |
T |
nullSafeGet(ResultSet rs,
String name)
|
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)
DO NOT USE THIS FORM! |
void |
set(PreparedStatement st,
T value,
int index)
DO NOT USE THIS FORM! |
int |
sqlType()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.hibernate.type.SingleColumnType |
|---|
fromStringValue, get, nullSafeGet, set, toString |
| Methods inherited from interface org.hibernate.type.Type |
|---|
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 |
| Constructor Detail |
|---|
public AbstractSingleColumnStandardBasicType(SqlTypeDescriptor sqlTypeDescriptor,
JavaTypeDescriptor<T> javaTypeDescriptor)
| Method Detail |
|---|
public final int sqlType()
sqlType in interface SingleColumnType<T>
public T nullSafeGet(ResultSet rs,
String name)
throws HibernateException,
SQLException
nullSafeGet in interface SingleColumnType<T>HibernateException
SQLException
public Object get(ResultSet rs,
String name)
throws HibernateException,
SQLException
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 Typevalue - the object to writeindex - statement parameter indexsettable - an array indicating which columns to ignore
HibernateException
SQLException
public void nullSafeSet(PreparedStatement st,
T value,
int index)
throws HibernateException,
SQLException
nullSafeSet in interface SingleColumnType<T>HibernateException
SQLException
public void set(PreparedStatement st,
T value,
int index)
throws HibernateException,
SQLException
set in interface SingleColumnType<T>HibernateException
SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||