Joda Time - Hibernate support

Joda-Time provides a complete quality alternative to the JDK date and time classes. At some point however, many projects need to persist these classes to a database. One popular tool for achieving this is Hibernate.

To ease the integration of Joda-Time and Hibernate, this sub-project was setup. It aims to provide the classes necessary to persist Joda-Time objects.

Version 1.3 was released on 2011-05-16 - Download now

Please note that version 1.3 is for Hibernate 3.6 and not Hibernate 4.0 (as the Hibernate team have made another incompatible change). The usertype project handles Hibernate 4.0. It is also more up to date and more complete than this project in general.

Documentation

Various documentation is available:

Releases

Release 1.3 is the current latest release. Please bear in mind that this project is separate from Joda-Time itself.

The dependencies are Joda-Time 1.5 or later and Hibernate 3.6 (plus associated dependencies). The Maven POM defines the dependencies as "provided", so you must specify them independently of this project. We recommend JDK 1.5 or later, and have performed no testing on earlier JDKs.

Support

The Joda-Time Hibernate support library was contributed to Joda-Time by Mario Ivankovits and Gregory Joseph. Support on bugs, library usage or enhancement requests is available via:

  • the joda-interest mailing list. Due to spam, you must be subscribed to post to the mailing list.
  • the joda-time sourceforge forum.