Package ome.tools.hibernate
Class ListAsSQLArrayUserType.DATE
- java.lang.Object
-
- ome.tools.hibernate.ListAsSQLArrayUserType<java.util.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<java.util.Date>
To use, define : hibernate.property type="ome.tools.hibernate.ListAsSQLArrayUserType$DATE" hibernate.column name="fieldName" sql-type="timestamp[]"
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ome.tools.hibernate.ListAsSQLArrayUserType
ListAsSQLArrayUserType.ArrayFactory, ListAsSQLArrayUserType.BOOLEAN, ListAsSQLArrayUserType.DATE, ListAsSQLArrayUserType.DOUBLE, ListAsSQLArrayUserType.ENUM<E extends java.lang.Enum<E>>, ListAsSQLArrayUserType.FLOAT, ListAsSQLArrayUserType.INTEGER, ListAsSQLArrayUserType.STRING, ListAsSQLArrayUserType.STRING2
-
-
Field Summary
-
Fields inherited from class ome.tools.hibernate.ListAsSQLArrayUserType
factory
-
-
Constructor Summary
Constructors Constructor Description DATE()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.sql.Array
getDataAsArray(java.sql.Connection conn, java.lang.Object value)
protected java.util.List<java.util.Date>
getDataFromArray(java.lang.Object array)
-
Methods inherited from class ome.tools.hibernate.ListAsSQLArrayUserType
assemble, deepCopy, disassemble, equals, hashCode, isMutable, nullSafeGet, nullSafeSet, replace, returnedClass, setParameterValues, sqlTypes
-
-
-
-
Method Detail
-
getDataAsArray
protected java.sql.Array getDataAsArray(java.sql.Connection conn, java.lang.Object value) throws java.sql.SQLException
- Specified by:
getDataAsArray
in classListAsSQLArrayUserType<java.util.Date>
- Throws:
java.sql.SQLException
-
getDataFromArray
protected java.util.List<java.util.Date> getDataFromArray(java.lang.Object array)
- Specified by:
getDataFromArray
in classListAsSQLArrayUserType<java.util.Date>
-
-