]
Diego Pires Plentz updated ANN-582:
-----------------------------------
Component/s: binder
Joda User Types
---------------
Key: ANN-582
URL:
http://opensource.atlassian.com/projects/hibernate/browse/ANN-582
Project: Hibernate Annotations
Issue Type: New Feature
Components: binder
Affects 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: