I am posting this as because i am stuck at some point .
Let me tell you the before hand behavior of transaction that i used and after behavior of the code
Before behaviorr
I have used spring transaction annotation (@Transactional(propagation = Propagation.REQUIRED) )
after that i have update the details using
then i try to fetch the details of the domain object which i update (its again a hibernateTemplate find method )
and i am able to fetch the updated details as all are in Transactional boundary.
No problem with anything
certainly i get different result when i fetch the details before update and rest of the code execute as usual (see below)
after behavior
after that i wont get the updated details which i update all are in one transaction boundary
how the step 1 which is get the domain object create a difference in result . and what is the concept behind in the transaction . Can anybody help in this regards
Thanks in advance