Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibern8IDE problem

 
kev dev
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to use Hibern8IDE to test HQL etc, when it loads up and i apply the config files i get the following error.

net.sf.hibernate.MappingException: identifier mapping has wrong number of columns: com.barcap.hibernate.Company type: object

As far as i can see my mapping files are correct as they were created by MiddleGen...

Any ideas?
 
pascal betz
Ranch Hand
Posts: 547
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
have you used these mappings in java code with hibernate ?
can you show the mapping(s) and the object(s) you map and the DB table(s).


pascal
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic