| 
 | ||||||||||
| 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)Deprecated. Use AbstractStandardBasicType.get(ResultSet, String, SessionImplementor)instead. | 
|  T | nullSafeGet(ResultSet rs,
            String name)Deprecated. Use AbstractStandardBasicType.nullSafeGet(ResultSet, String, SessionImplementor)instead | 
|  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. Use AbstractStandardBasicType.nullSafeSet(PreparedStatement, Object, int, SessionImplementor)instead. | 
|  void | set(PreparedStatement st,
    T value,
    int index)Deprecated. Use AbstractStandardBasicType.set(PreparedStatement, Object, int, SessionImplementor)instead. | 
|  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
AbstractStandardBasicType.nullSafeGet(ResultSet, String, SessionImplementor) instead
nullSafeGet 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 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
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| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||