Package ubic.gemma.persistence.hibernate
Class BatchEffectType
- java.lang.Object
-
- org.hibernate.type.EnumType
-
- ubic.gemma.persistence.hibernate.BatchEffectType
-
- All Implemented Interfaces:
Serializable
,DynamicParameterizedType
,EnhancedUserType
,LoggableUserType
,ParameterizedType
,UserType
public class BatchEffectType extends EnumType
Workaround to handle existing batch effect value in the database.FIXME: remove this once the 1.31 is out and the database has been fully migrated (see #894 for details).
- Author:
- poirigui
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.hibernate.type.EnumType
EnumType.EnumValueMapperSupport
-
Nested classes/interfaces inherited from interface org.hibernate.usertype.DynamicParameterizedType
DynamicParameterizedType.ParameterType
-
-
Field Summary
-
Fields inherited from interface org.hibernate.usertype.DynamicParameterizedType
ACCESS_TYPE, ENTITY, IS_DYNAMIC, IS_PRIMARY_KEY, PARAMETER_TYPE, PROPERTY, RETURNED_CLASS, XPROPERTY
-
-
Constructor Summary
Constructors Constructor Description BatchEffectType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
nullSafeGet(ResultSet rs, String[] names, SessionImplementor session, Object owner)
-
Methods inherited from class org.hibernate.type.EnumType
assemble, deepCopy, disassemble, equals, fromXMLString, hashCode, isMutable, isOrdinal, nullSafeSet, objectToSQLString, replace, returnedClass, setParameterValues, sqlTypes, toLoggableString, toXMLString
-
-
-
-
Method Detail
-
nullSafeGet
public Object nullSafeGet(ResultSet rs, String[] names, SessionImplementor session, Object owner) throws SQLException
- Specified by:
nullSafeGet
in interfaceUserType
- Overrides:
nullSafeGet
in classEnumType
- Throws:
SQLException
-
-