Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
I have a one to one mapping between Table A and Table B.
Table A's ID is generated using sequence class. I am not sure
how to set the identifier for the Table B whose ID would
be same as TableA ID.
When i execute session.save, I pass a single object which
contain both TableA and Table B information.
Any suggestion or thougts are highly appreciated.
Hibernate version:
3.0
Mapping documents:
<id name="id" column="col1">
<generator class="sequence">
<param name="sequence">seq</param>
</generator>
</id>
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: