Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.hibernate.type.AbstractType
org.hibernate.type.NullableType
org.hibernate.type.ImmutableType
org.hibernate.type.BigIntegerType
java.math.BigInteger
Method Summary | |
Object |
|
Object |
|
int |
|
String |
|
Class |
|
boolean |
|
String |
|
void |
|
int |
|
Object |
|
String |
|
Methods inherited from class org.hibernate.type.ImmutableType | |
deepCopy , isMutable , replace |
Methods inherited from class org.hibernate.type.NullableType | |
fromStringValue , fromXMLNode , fromXMLString , get , getColumnSpan , isDirty , isEqual , isEqual , nullSafeGet , nullSafeGet , nullSafeGet , nullSafeGet , nullSafeSet , nullSafeSet , nullSafeSet , nullSafeToString , set , setToXMLNode , sqlType , sqlTypes , toColumnNullness , toLoggableString , toString , toXMLString |
Methods inherited from class org.hibernate.type.AbstractType | |
assemble , beforeAssemble , compare , disassemble , getHashCode , getHashCode , getSemiResolvedType , hydrate , isAnyType , isAssociationType , isCollectionType , isComponentType , isDirty , isEntityType , isEqual , isEqual , isModified , isSame , isXMLElement , replace , replaceNode , resolve , semiResolve |
public Object fromStringValue(String xml)
- Overrides:
- fromStringValue in interface NullableType
public Object get(ResultSet rs, String name) throws HibernateException, SQLException
- Overrides:
- get in interface NullableType
public int getHashCode(Object x, EntityMode entityMode)
Get a hashcode, consistent with persistence "equality"
- Specified by:
- getHashCode in interface Type
- Overrides:
- getHashCode in interface AbstractType
- Parameters:
x
-entityMode
-
public String getName()
Returns the abbreviated name of the type.
- Returns:
- String the Hibernate type name
public Class getReturnedClass()
The class returned by nullSafeGet() methods. This is used to establish the class of an array of this type.
- Specified by:
- getReturnedClass in interface Type
- Returns:
- Class
public String objectToSQLString(Object value, Dialect dialect) throws Exception
- Specified by:
- objectToSQLString in interface LiteralType
public void set(PreparedStatement st, Object value, int index) throws HibernateException, SQLException
- Overrides:
- set in interface NullableType
public Object stringToObject(String xml) throws Exception
- Specified by:
- stringToObject in interface IdentifierType
public String toString(Object value) throws HibernateException
- Overrides:
- toString in interface NullableType