Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
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:
Hi,I am new to this technology.I faced one problem to map 2 tables.
I want map the id(PK) of usermetrics table and userId(it is not pk) of usermetricsdetails table. In usermetricsdetails table id is primary key.
I need to map with userid. I have one-to-one relation is there between 2 tables.Please give solution asap.
Thanks
Mohana Priya