ome.tools.hibernate
Class ListAsSQLArrayUserType.DATE
java.lang.Object
ome.tools.hibernate.ListAsSQLArrayUserType<Date>
ome.tools.hibernate.ListAsSQLArrayUserType.DATE
- All Implemented Interfaces:
- org.hibernate.usertype.ParameterizedType, org.hibernate.usertype.UserType
- Enclosing class:
- ListAsSQLArrayUserType<T>
public static class ListAsSQLArrayUserType.DATE
- extends ListAsSQLArrayUserType<Date>
To use, define : hibernate.property
type="ome.tools.hibernate.ListAsSQLArrayUserType$DATE"
hibernate.column name="fieldName" sql-type="timestamp[]"
Methods inherited from class ome.tools.hibernate.ListAsSQLArrayUserType |
assemble, deepCopy, disassemble, equals, hashCode, isMutable, nullSafeGet, nullSafeSet, replace, returnedClass, setParameterValues, sqlTypes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListAsSQLArrayUserType.DATE
public ListAsSQLArrayUserType.DATE()
getDataAsArray
protected Array getDataAsArray(Connection conn,
Object value)
throws SQLException
- Specified by:
getDataAsArray
in class ListAsSQLArrayUserType<Date>
- Throws:
SQLException
getDataFromArray
protected List<Date> getDataFromArray(Object array)
- Specified by:
getDataFromArray
in class ListAsSQLArrayUserType<Date>
OmeroJava Api
Version: 4.3.3-00d1137e-b2894
Copyright © 2009 The University of Dundee. All Rights Reserved.