I've just included Chris's project into my current project and it seems to work well, so I'd be in favor of that seeing as it is more complete and up-to-date. Thanks Chris!
Alison jodastephen wrote: > > 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 > > -- View this message in context: http://joda-interest.219941.n2.nabble.com/using-Hibernate-to-persist-LocalDate-to-SQL-DATE-type-column-tp5294884p5298339.html Sent from the Joda-Interest mailing list archive at Nabble.com. ------------------------------------------------------------------------------ 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
