This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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