On 2007-09-27, Stephen Colebourne wrote:
Following a number of requests, I have released the hibernate
project v1.0:
http://joda-time.sourceforge.net/contrib/hibernate/index.html
This version provides persistence of LocalDate, LocalTime,
LocalDateTime, Period and Duration.
Please note that if you used a pre-release of the library for
persisting
Period objects, then the final release uses a different database
format
(ISO8601 string rather than descriptive string).
Also note that I have no personal experience of Hibernate, so this
project is released separate to Joda-Time, and with slightly less
guarantees. ie. we hope it works well for you!
Stephen
How can I persist LocalDateTime? The persistence classes seem to
support LocalDate and LocalTime, but none seem to work with
LocalDateTime. I've tried PersistenceLocalDate,
PersistenceLocalTimeAsString, and PersistentDateTime, but always get
an error that my LocalDateTime field can't be copied or converted to
another Joda type. Am I missing something?
Thanks for any ideas about how to persist LocalDateTime.
Jim
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest