Joined: Wed Mar 02, 2005 3:03 pm Posts: 1
|
I am having great difficulty in getting a one-to-one primary key association to work. I have read section 5.1.11 in the Hibernate Reference Manual and also chapter 6 in the Hibernate in Action book to no avail. In section 5.1.11 they give an example of a one-to-one primary key association, but they only list the partial mapping snippets. Does anyone have the full mapping files and corresponding Java classes? I believe this would help me to figure out what I am doing wrong.
Hibernate version: 2.1.7
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
|
|