File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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!