I'm facing an issue that really caused me headache. That is, when I update or create new object, the return result of HQL execution telling me that it has been successful ( I also flushed the session ). However, when I retrieve the object, system returns me no value.
Summary: 1/ Execute update of insert( flushes session already ) : return success result 2/ Retrieve the data : not found 3/ After a while, Retrieve the data: found
Can someone please explain or guide me how to solve this case?
Thank you very much,
Trang Doan.
|