This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Hibern8IDE problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibern8IDE problem" Watch "Hibern8IDE problem" New topic

Hibern8IDE problem

kev dev

Joined: Sep 20, 2004
Posts: 1
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

Joined: Jun 19, 2001
Posts: 547
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).

I agree. Here's the link:
subject: Hibern8IDE problem
It's not a secret anymore!