This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line! See this thread for details.
Hi Friends! My problem as follows., In my project, we had the form used to display and edit user profile information. When users edit the form the values are updated to the database then i have to display the updated info on the form. when i retrieve the updated value from DB through HQL, it retrieves only old data. But the DB has updated values..
we are using hibernate3.1 and mysql5. i don't enable hibernate caching in hibernate.cfg.xml file.
i already tried session.evict and sessionFactory.evict methods. but no use, till now it retrieve only old values...