public abstract class HibernateBitFlag<T extends BitFlag> extends HibernateIdLookup<T,Integer> implements org.hibernate.usertype.UserType
| Constructor and Description |
|---|
HibernateBitFlag(Class<T> clazz) |
| Modifier and Type | Method and Description |
|---|---|
Object |
nullSafeGet(ResultSet rs,
String[] names,
org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object owner) |
void |
nullSafeSet(PreparedStatement st,
Object value,
int index,
org.hibernate.engine.spi.SharedSessionContractImplementor session) |
assemble, deepCopy, disassemble, equals, hashCode, isMutable, replace, returnedClass, sqlTypespublic Object nullSafeGet(ResultSet rs, String[] names, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner) throws org.hibernate.HibernateException, SQLException
nullSafeGet in interface org.hibernate.usertype.UserTypenullSafeGet in class HibernateIdLookup<T extends BitFlag,Integer>org.hibernate.HibernateExceptionSQLExceptionpublic void nullSafeSet(PreparedStatement st, Object value, int index, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws org.hibernate.HibernateException, SQLException
nullSafeSet in interface org.hibernate.usertype.UserTypenullSafeSet in class HibernateIdLookup<T extends BitFlag,Integer>org.hibernate.HibernateExceptionSQLExceptionCopyright © 2020. All rights reserved.