Hi Stephen, Yes. Thanks for the positive feedback.
I think it covers all of the same cases and a few others as well as providing a JSR 310 option. Regards Chris. -----Original Message----- From: Stephen Colebourne [mailto:[email protected]] Sent: 15 July 2010 09:50 To: Discussion of the Joda project Subject: Re: [Joda-interest] using Hibernate to persist LocalDate to SQLDATEtype column Do you believe it is worth deprecating joda-time-hibernate in favour of your project? (I'd quite like to...) Stephen On 15 July 2010 00:45, Chris Pheby <[email protected]> wrote: > Hi Alison, > > I included this capability in the usertype library which provides > Hibernate UserTypes which can be used with Joda Time and JSR 310. > > http://usertype.sourceforge.net/apidocs/org/jadira/usertype/dateandtime/ > joda/PersistentLocalDate.html > http://usertype.sourceforge.net/apidocs/org/jadira/usertype/dateandtime/ > jsr310/PersistentLocalDate.html > > Regards > > > Chris > > -----Original Message----- > From: Alison Winters [mailto:[email protected]] > Sent: 14 July 2010 22:27 > To: [email protected] > Subject: [Joda-interest] using Hibernate to persist LocalDate to SQL > DATEtype column > > Hi, > > I've searched the archives and I haven't found any reference to this: is > there a reason why the existing Joda Time Hibernate library doesn't > provide a way to persist LocalDate instances to an SQL DATE type column? > LocalDate instances can currently only be persisted as an SQL TIMESTAMP > type, which is too precise for certain types of data. I would like to > see a PersistentLocalDateAsDate class that works like > PersistentLocalTimeAsTime, but for date values. Is the lack of this > feature designed in for some reason or is it just an oversight? I would > be happy to supply a patch if needed. > > Alison > > > ------------------------------------------------------------------------ > ------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Joda-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/joda-interest > > ------------------------------------------------------------------------ ------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Joda-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/joda-interest > ------------------------------------------------------------------------ ------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Joda-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/joda-interest ------------------------------------------------------------------------------- This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. ------------------------------------------------------------------------------- ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Joda-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/joda-interest
