-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: hibernate 3.2R2 and hibernate-annotations-3.2.0.CR1
PostPosted: Wed Aug 02, 2006 8:37 am 
Newbie

Joined: Tue Feb 17, 2004 11:34 am
Posts: 8
When I upgrade to hibernate 3.2R2 and hibernate-annotations-3.2.0.CR1 I got next exception:

Code:
java.lang.NoSuchMethodError: org.hibernate.cfg.NamingStrategy.foreignKeyColumnName(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
   at org.hibernate.cfg.Ejb3JoinColumn.linkValueUsingDefaultColumnNaming(Ejb3JoinColumn.java:284)
   at org.hibernate.cfg.annotations.TableBinder.bindFk(TableBinder.java:206)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 02, 2006 10:41 am 
Expert
Expert

Joined: Sat Oct 25, 2003 8:49 am
Posts: 490
Location: Vrhnika, Slovenia
Look what the right configuration of Hibernate core, annotations and em is?
Check on their home pages.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 03, 2006 2:14 am 
Newbie

Joined: Tue Feb 17, 2004 11:34 am
Posts: 8
Entity manager ? But I cant find any information about requirements of Entity manager for annotations. Anyway I cant understand how right setup of EM will help because Ejb3JoinColumn from annotations 3.2Cr1 use wrong method foreignKeyColumnName(with 4 arguments but current foreignKeyColumnName have 3 arguments) of org.hibernate.cfg.NamingStrategy from hibernate 3.2Cr2


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 07, 2006 1:22 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
I don't think you're using hibernate core 3.2.cr2

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 12, 2006 6:43 pm 
Beginner
Beginner

Joined: Wed Jan 25, 2006 10:18 am
Posts: 28
I had the same problem and switching from cr1 to cr2 solved it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.