Hi everybody,
The problem that i am facing is the following:
I have two different transaction: A and B.
1.I start the trans A ( in the debug mode ) and in the middle of this transaction, i also start trans B that modifies some data.
2. I commit the transaction B.
3.I try to see the modifications in trans A with a find method on the data
that was modified by transaction B.
The problem is the modifications cannot be seen in transaction A, unless I do a session.refresh on the object, but this is something i want to avoid.
Does anybody have an idea why this happens?
The transactions are managed by the application, the code is according to hibernate specifications and the version is 2.1.7.
Thanks.
|