This content has been marked as final.
Show 3 replies
-
1. Re: Urgent help with Transations
adrian.brock Mar 7, 2004 8:05 PM (in response to gustad20)javax.transaction.UserTransaction.getStatus()
Regards,
Adrian -
2. Re: Urgent help with Transations
gustad20 Mar 7, 2004 9:43 PM (in response to gustad20)Adrian,
Thanx for the response.
These are two different transactions !! Inside City...i do a lookup(UserTransaction) and then tx.begin(). Now this transaction calls Inhabitant....which also does a lookup(UserTransaction) and then tx.begin(). I get different UserTransaction objects each time....hence getStatus() doesnt help , if u ask why need to start a new UserTransaction...then my answer is that , its possible to delete just Inhabitant and doing that would require to succesfully delete all Adresses...hence the need for the transaction.
Hope it helps -
3. Re: Urgent help with Transations
gustad20 Mar 8, 2004 9:18 AM (in response to gustad20)Adrian,
You were right. I tried it and it works