public abstract class

AbstractSingleColumnStandardBasicType

extends AbstractStandardBasicType<T>
implements SingleColumnType<T>
java.lang.Object
   ↳ org.hibernate.type.AbstractStandardBasicType<T>
     ↳ org.hibernate.type.AbstractSingleColumnStandardBasicType<T>
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

TODO : javadoc

Summary

Public Constructors
AbstractSingleColumnStandardBasicType(SqlTypeDescriptor sqlTypeDescriptor, JavaTypeDescriptor<T> javaTypeDescriptor)
Public Methods
Object get(ResultSet rs, String name)
This method is deprecated. Use get(ResultSet, String, SessionImplementor) instead.
T nullSafeGet(ResultSet rs, String name)
This method is deprecated. Use nullSafeGet(ResultSet, String, SessionImplementor) instead
final 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)
This method is deprecated. Use nullSafeSet(PreparedStatement, Object, int, SessionImplementor) instead.
void set(PreparedStatement st, T value, int index)
This method is deprecated. Use set(PreparedStatement, Object, int, SessionImplementor) instead.
final int sqlType()
[Expand]
Inherited Methods
From class org.hibernate.type.AbstractStandardBasicType
From class java.lang.Object
From interface org.hibernate.type.BasicType
From interface org.hibernate.type.SingleColumnType
From interface org.hibernate.type.StringRepresentableType
From interface org.hibernate.type.Type
From interface org.hibernate.type.XmlRepresentableType

Public Constructors

public AbstractSingleColumnStandardBasicType (SqlTypeDescriptor sqlTypeDescriptor, JavaTypeDescriptor<T> javaTypeDescriptor)

Public Methods

public Object get (ResultSet rs, String name)

This method is deprecated.
Use get(ResultSet, String, SessionImplementor) instead.

DO NOT USER THIS FORM!

public T nullSafeGet (ResultSet rs, String name)

public final 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. Implementors should handle possibility of null values. A multi-column type should be written to parameters starting from index.

Parameters
value the object to write
index statement parameter index
settable an array indicating which columns to ignore

public void nullSafeSet (PreparedStatement st, T value, int index)

This method is deprecated.
Use nullSafeSet(PreparedStatement, Object, int, SessionImplementor) instead.

DO NOT USE THIS FORM!

public void set (PreparedStatement st, T value, int index)

This method is deprecated.
Use set(PreparedStatement, Object, int, SessionImplementor) instead.

DO NOT USE THIS FORM!

public final int sqlType ()