This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes hibernate3 : help find out the error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "hibernate3 : help find out the error" Watch "hibernate3 : help find out the error" New topic
Author

hibernate3 : help find out the error

Brendon Woodford
Ranch Hand

Joined: Jan 22, 2010
Posts: 53
hi all

I am getting the following error for one-to-one relation mapping.Help debug.




The program is as follows:-



I appreciate the help put forward
Thanks
brendon
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

As a very quick response, I'd say that most grammar problems come back to some mis-matched mapping from the xml/annotations to the database. Maybe name problem? Incompatible mapping?

Just a hint, but be more descriptive in the old subject like. Most questions in here are about hibernate3. Be more descriptive, and someone that knows the answer might pipe up, as opposed to just passing it by because they are not experts on hibernate3 specifically. Help us help you!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: hibernate3 : help find out the error
 
Similar Threads
delete option of cascade in Hibernate one-to-one association
/hibernate.cfg.xml not found while Running simple java program
Unknown entity class: java.lang.Integer
cannot insert record in MS SQLServer 2000
Hibernate native sql problem