Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: 3.0
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: MySql
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
In my application, at some time i want to update my objects by reading the values from database. For this purpose i use the session.refresh function. By this function i get the new values but the object references also changes. but object identity is important for my application. is there any way of doing this (refreshing objects but not references) ?
is there any configuration i can make at the hibernate.cfg.xml to make objects synchronize themselves with the database?