| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Abstract base class for Hibernate UserType implementations that map to LOBs. Retrieves the LobHandler to use from LocalSessionFactoryBean at config time.
Requires either active Spring transaction synchronization or a specified "jtaTransactionManager" on LocalSessionFactoryBean plus an active JTA transaction.
Offers template methods for getting and setting that pass in the LobHandler respectively LobCreator to use.
Method Summary | |
Object | deepCopy(Object value) This implementation returns the passed-in value as-is. |
boolean | equals(Object x, Object y) This implementation delegates to the Hibernate EqualsHelper. |
boolean | isMutable() This implementation returns false. |
final Object | nullSafeGet(ResultSet rs, String[] names, Object owner) This implementation delegates to nullSafeGetInternal, passing in the LobHandler of this type. |
final void | nullSafeSet(PreparedStatement st, Object value, int index) This implementation delegates to nullSafeSetInternal, passing in a transaction-synchronized LobCreator for the LobHandler of this type. |
Method Detail |
public Object deepCopy(Object value)
throws HibernateException
public boolean equals(Object x, Object y)
throws HibernateException
public boolean isMutable()
public final Object nullSafeGet(ResultSet rs, String[] names, Object owner)
throws HibernateException,
java.sql.SQLException
public final void nullSafeSet(PreparedStatement st, Object value, int index)
throws HibernateException,
java.sql.SQLException
Association Links |
to Class javax.transaction.TransactionManager
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |