Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "hibernate3 : help find out the error" Watch "hibernate3 : help find out the error" New topic

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
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

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!
Have you tried LearnNowOnline?
subject: hibernate3 : help find out the error