Hello ,
I am running WL8.1SP3 with hibernate 3.05 and I am facing this issue:
I call a method tx marked "requiredNew" on a sessionBean SB1
From SB1, I call a method on a SB2 tx marked "required": From this method I use the getCurrentSession and insert an object and flush.
After rmethod returned , from SB1, I call now a method on a SB2 tx marked "required" where I select the object I just inserted previously but without any result ....
why ???? :(
When SB1 method return, I can see the row added because tx get commited but from SB1 method, i am still in the same JTA transaction context , where I should be able to see all the changes. Is my assumption true?
I check out the JTA weblogic console where i see that only one tx has been opened and commit, does it means that even if there is one JTA tx, you can have mulitple database tx ?
help please!
|