Fabricio,

For Joda Time Hibernate, I believe version 1.2 is compatible with the Hibernate 
version you are using. Also, why not look at the Jadira Usertype project 
(disclaimer: I am the author of that project). Version 1.9.1 is the most recent 
version suitable for your version of Hibernate.

Regards


Chris

________________________________________
From: Stephen Colebourne [scolebou...@joda.org]
Sent: 30 March 2012 23:30
To: Discussion of the Joda project
Subject: Re: [Joda-interest] LocalDateTime mapping in Hibernate 3.2.6.ga

The classes are simple enough to code yourself. Why not take the
source code and make the edits?
Stephen

2012/3/30 Fabrício Nogueira <fabricio.nogue...@gmail.com>:
> Hi folks.
>
> After many headaches with java.util.Date and Calendar I solved to use
> joda-time in my project, but now I'm facing another problem. My project uses
> the Hibernate 3.2.6.ga version. In order to map the LocalDateTime class
> attribute I used org.joda.time.contrib.hibernate.PersistentLocalDateTime in
> hbm. When I tried to test the application I got the
> error java.lang.NoClassDefFoundError: org.hibernate.type.StandardBasicTypes.
> So I noticed that joda-time hibernate I'm using (v 1.3) is for Hibernate >
> 3.6.0 version.
>
> Changing the Hibernate version in my project would be painful. Is there
> another way to map LocalDateTime to a Date oracle column using joda time
> hibernate with 3.2.6.ga hibernate version?
>
> I don't know whether this is the better place to ask it, but any help will
> be appreciated.
>
> Cheers,
>
> Fabricio.
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Joda-interest mailing list
> Joda-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/joda-interest
>

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to