Yes I have, it has the same problem.

I've checked out the joda-time-hibernate code and it seems that the pom.xml
needs a few changes, namely:

  <dependencies>
    <dependency>
      <groupId>joda-time</groupId>
      <artifactId>joda-time</artifactId>
      <version>1.6</version>
    </dependency>
    <dependency>
      <groupId>org.hibernate</groupId>
      <artifactId>hibernate-core</artifactId>
      <version>3.3.2.GA</version>
    </dependency>
 <dependency>
  <groupId>javassist</groupId> 
  <artifactId>javassist</artifactId> 
  <version>3.11.0.GA</version> 
  <scope>runtime</scope> 
  </dependency>
    <dependency>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-gpg-plugin</artifactId>
        <version>1.0-alpha-4</version>
    </dependency>
 <dependency>
  <groupId>org.slf4j</groupId> 
  <artifactId>slf4j-log4j12</artifactId> 
  <version>1.5.9.RC1</version> 
  </dependency>
 <dependency>
  <groupId>org.slf4j</groupId> 
  <artifactId>slf4j-api</artifactId> 
  <version>1.5.9.RC1</version> 
  </dependency>

And this seems to build mvn test but the mvn install is rather "strange"
with gpg code which is not downloaded automatically...

I'll give a try with the 1.3-SNAPSHOT jar tomorrow.

But it would be great if you could do an official release with the latest
Hibernate and Joda-time as per the new dependencies above...

Thanks

Benoit


jodastephen wrote:
> 
> I recently released Joda-TimeHibernate 1.2, have you tried that?
> Stephen
> 
> BenoitX wrote:
>> This is even more problematic as it seems that the Maven Hibernate plugin
>> no
>> longer works:
>> 
>> [ERROR] Failed to execute goal
>> org.codehaus.mojo:hibernate3-maven-plugin:2.2:hbm2ddl (default) on
>> project
>> escape: Execution default of goal org.codehaus.mojo:hibernate3-maven-plug
>> in:2.2:hbm2ddl failed: An API incompatibility was encountered while
>> executing org.codehaus.mojo:hibernate3-maven-plugin:2.2:hbm2ddl:
>> java.lang.NoSuchFieldError: tableNameBinding
>> 
>> The plugin is used to generate the database schema.
>> 
>> It seems that we should really upgrade the library... Anyone managed to
>> use
>> it with Hibernate 3.3.2?  Could you share the code?
>> 
>> Shall I have a look?
>> 
>> Regards
>> 
>> Benoit
>> 
>> 
>> 
>> Daniel Serodio wrote:
>>>
>>> jodastephen wrote:
>>>> 2009/9/9 Daniel Serodio <nabble.dsero...@neverbox.com>:
>>>>> I noticed that the last joda-time-hibernate release, 1.1, was released
>>>>> on
>>>>> 2008-10-12 and depends on Hibernate 3.0.5, which is pretty ancient.
>>>>>
>>>>> Are there plans to release a newer version, for Hibernate 3.3.x?
>>>> I have no specific plans to do so. I don't use Hibernate, so I don't
>>>> even know if the current code will compile against v3.3.x. I wouldn't
>>>> be surprised if it did though.
>>>>
>>>> Stephen
>>>>
>>> Are you using JPA? Isn't an adapter like joda-time-hibernate needed for
>>> JPA?
>>>
>>> Regards,
>>> Daniel Serodio
>>>
>> 
> 
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing. 
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> _______________________________________________
> Joda-interest mailing list
> Joda-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/joda-interest
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Joda-time-and-Hibernate-3-3-x-tp3615120p4128380.html
Sent from the Joda-Interest mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to