Jadira is the home for Sousan and Chris Pheby's open source projects. These are reusable open source Java modules that provide first class solutions using the most effective current JEE technologies.
This capability is in trunk but not yet released. If you build trunk from Subversion you will find that the usertype implements Hibernate's CompositeUserType. There's a good discussion of CompositeUserTypes here: http://www.jroller.com/whoami/entry/hibernate_compositeusertype_and_x509certificate
In the case of PersistentInterval, the property names are 'begin' and 'end'.
Thanks Chris
Chris
Hi,
I'm also very interested in this feature :-) Do you have an available snapshot repository for maven ?
Thanks for your help :-)
Romain Sertelon
Romain,
I have release 1.9 (for Hibernate 3.x) and 2.0 (for Hibernate 4.x). These introduce the CompositeUserType implementation,
Chris
Hi,
How do I do a Hibernate Criteria or HQL query with restrictions on start or end dates using org.jadira.usertype.dateandtime.joda.PersistentInterval ?