This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibern8IDE problem" Watch "Hibern8IDE problem" New topic
Author

Hibern8IDE problem

kev dev
Greenhorn

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).


pascal
 
GeeCON Prague 2014
 
subject: Hibern8IDE problem