Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

org.hibernate.AnnotationException

 
sudharshan tettu
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

any idea on this
Caused by: org.hibernate.AnnotationException: A Foreign key refering com..java.TableA
from com.java.TableB has the wrong number of column. should be 10
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any chance we can see some of that code that associated the two tables? Is it a many-to-many relationship in there?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic