I have been facing a huge problem for quite some time.
I have two application game portal and its back office.
and both have their own hibernate session factory and session.
If i insert a row fro back office to my transaction table then after that if i try to insert a new row to my transaction table ,
then it gives duplicate key issue .My rows are auto incrment fields.
One application is not able to synchronise its session with other application.
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:
Problems with Session and transaction handling?
Read this:
http://hibernate.org/42.html