public abstract class

AbstractLongStringType

extends ImmutableType
java.lang.Object
   ↳ org.hibernate.type.AbstractType
     ↳ org.hibernate.type.NullableType
       ↳ org.hibernate.type.ImmutableType
         ↳ org.hibernate.type.AbstractLongStringType

This class is deprecated.
Use the AbstractStandardBasicType approach instead

Class Overview

An abstract type for mapping long string SQL types to a Java String.

Summary

Public Constructors
AbstractLongStringType()
Public Methods
Object fromStringValue(String xml)
Consume the given string representation back into this types java form.
Object get(ResultSet rs, String name)
Get a column value from a result set, without worrying about the possibility of null values.
Class getReturnedClass()
void set(PreparedStatement st, Object value, int index)
Set a parameter value without worrying about the possibility of null values.
String toString(Object val)
[Expand]
Inherited Methods
From class org.hibernate.type.ImmutableType
From class org.hibernate.type.NullableType
From class org.hibernate.type.AbstractType
From class java.lang.Object
From interface org.hibernate.type.StringRepresentableType
From interface org.hibernate.type.Type
From interface org.hibernate.type.XmlRepresentableType

Public Constructors

public AbstractLongStringType ()

Public Methods

public Object fromStringValue (String xml)

Consume the given string representation back into this types java form.

Parameters
xml The string representation to be consumed.
Returns
  • The java type representation

public Object get (ResultSet rs, String name)

Get a column value from a result set, without worrying about the possibility of null values. Called from nullSafeGet(ResultSet, String) after nullness checks have been performed.

Parameters
rs The result set from which to extract the value.
name The name of the value to extract.
Returns
  • The extracted value.

public Class getReturnedClass ()

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

Set a parameter value without worrying about the possibility of null values. Called from nullSafeSet(PreparedStatement, Object, int) after nullness checks have been performed.

Parameters
st The statement into which to bind the parameter value.
value The parameter value to bind.
index The position or index at which to bind the param value.

public String toString (Object val)