Joda User Types
---------------
Key: ANN-582
URL:
http://opensource.atlassian.com/projects/hibernate/browse/ANN-582
Project: Hibernate Annotations
Type: New Feature
Versions: 3.2.1
Reporter: Martin Gilday
Attachments: jodaUserTypes.zip
As discussed on the forums
http://forum.hibernate.org/viewtopic.php?t=972083 here are some
user types for Joda Time. It covers LocalDate, LocalDateTime and LocalTime checked
against Joda 1.4.
Currently it has been used with MySql4.x. It relies on using date patterns for converting
the joda objects and then setting them as Strings. This should work for any database that
uses the same date/time formats. One possible improvement might be to convert to
java.sql.Date etc and allow JDBC to handle the setting in the DB. Although I do not know
how this would affect timezones, which was the reason for using LocalXxx.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira