Forums Register Login

Connection already associated with transaction

+Pie Number of slices to send: Send
Does anybody has any idea about this type of exception

java.lang.IllegalStateException: Connection already associated with transaction

I am getting this exception when i try to do some database manupulation in a bean method.

Cheers,
Rahul
+Pie Number of slices to send: Send
You may be trying to use an instance or class variable for the Connection. You must always use a local variable for this, and close the Connection in the same method.
Barry's not gonna like this. Barry's not gonna like this one bit. What is Barry's deal with tiny ads?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 436 times.
Similar Threads
BMT Transactions
BMT Rollback Issue
Enthuware question doubt
dbt in exceptions + transactions + Session bean (BMT)
Enthuware Wrong Answer
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 03:15:04.