From: <jos...@gm...> - 2006-07-26 18:56:10
|
Hi Stephen, Sounds nice - my sf username is gjoseph (just new - changing from an old account) - thanks ! Is Mario still around? If so I guess we should have a quick discussion about our abstract classes and the tests, to make them more complete and consistent. Cheers, greg On 25/07/06, Stephen Colebourne <sco...@jo...> wrote: > Hi, > I'd love to see these in Joda-Time-Hibernate. Would you like commit > rights to make it happen? Since I don't use hibernate, your probably > closer to being able to test and check this than I would (and you have > the itch...). Just drop me your sf name. > > Stephen > > > Gr=E9gory Joseph wrote: > > Hi list, > > > > This thread goes a long time back in time, and I actually add these > > custom types implemented a while ago too. I can't say they have been > > used much, because my own project ended up not using Periods and > > Durations - but they're there and unit tested (the tests don't > > completely test how they are represented in the db - I was lazy but > > could I could add that - but tests they can be written/retrieved). > > The thing is, these currently reside in a sub project of my own > > project, to which they're not related at all. And since I'm in the > > process of trying to re-focus my own project and get rid of > > unnecessary/unrelated stuff, I'd like to get this out of the way, and > > possibly contribute it back to jodatime/hibernate. (It's actually used > > by another of the module in berkano, but that one's already a > > candidate for being moved out of the main project:)) > > > > The source code is browsable at > > http://svn.berkano.codehaus.org/browse/berkano/berkano/trunk/berkano-to= ols/jodatime-hibernate > > Please tell me what you think - I've added my own abstract "helper" > > class, and maybe the current hibernate types could reuse it, or > > vice-versa of course :) (I remember we had a quick discussion here > > about whether or not to implement EnhancedUserType instead of the > > simple UserType, and Mario wouldn't remember the reason ;)) Same goes > > for tests. > > I'd love to contribute these to jodatime, in a way or another. For one > > thing it would make the jodatime-hibernate module slightly more > > complete, and it definitely belongs there rather that in berkano > > (which is supposedly a user management library meant for j2ee/webapps) > > > > Cheers, > > > > greg > > > > On 21/12/05, Stephen Colebourne <sco...@jo...> wrote: > > > >>Gr=E9gory Joseph wrote: > >> > >>>Any opinion re: the persistence of Periods ? > >> > >>I would just store them in the standard ISO format as returned by the > >>toString() method. > >> > >>Stephen > >> > >> > >>------------------------------------------------------- > >>This SF.net email is sponsored by: Splunk Inc. Do you grep through log = files > >>for problems? Stop! Download the new AJAX search engine that makes > >>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > >>http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick > >>_______________________________________________ > >>Joda-interest mailing list > >>Jod...@li... > >>https://lists.sourceforge.net/lists/listinfo/joda-interest > >> > > > > > > -----------------------------------------------------------------------= -- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share= your > > opinions on IT & business topics through brief surveys -- and earn cash > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID= =3DDEVDEV > > _______________________________________________ > > Joda-interest mailing list > > Jod...@li... > > https://lists.sourceforge.net/lists/listinfo/joda-interest > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share y= our > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Joda-interest mailing list > Jod...@li... > https://lists.sourceforge.net/lists/listinfo/joda-interest > |