public class EnumNameUserType extends AbstractEnumUserType
Based on the original class by Gavin King (http://www.hibernate.org/272.html).
enumClass
Constructor | Description |
---|---|
EnumNameUserType() |
Default constructor, required by Hibernate.
|
Modifier and Type | Method | Description |
---|---|---|
Object |
fromXMLString(String xmlValue) |
|
Object |
nullSafeGet(ResultSet rs,
String[] names,
Object owner) |
|
void |
nullSafeSet(PreparedStatement st,
Object value,
int index) |
|
String |
objectToSQLString(Object value) |
|
int[] |
sqlTypes() |
|
String |
toXMLString(Object value) |
assemble, deepCopy, disassemble, equals, hashCode, isMutable, replace, returnedClass, setParameterValues
public EnumNameUserType()
public Object nullSafeGet(ResultSet rs, String[] names, Object owner) throws org.hibernate.HibernateException, SQLException
org.hibernate.HibernateException
SQLException
public void nullSafeSet(PreparedStatement st, Object value, int index) throws org.hibernate.HibernateException, SQLException
org.hibernate.HibernateException
SQLException
public int[] sqlTypes()
Copyright © 2002–2019 itracker. All rights reserved.