gopnik5
asked on
How to cancel an EJB transaction?
Can I cancel an EJB transaction without waiting for it to timeout and throw a timeout exception?
Let's say I am performing a database search that takes too long.
Let's say I can get an access to the session bean's handle (I store it on the session).
How can I stop the transaction?
Thanks in advance
Let's say I am performing a database search that takes too long.
Let's say I can get an access to the session bean's handle (I store it on the session).
How can I stop the transaction?
Thanks in advance
Is this possible even without EJB, using normal java classes (except by killing the thread in question) ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
gopnik5:
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Accept antons' comment as answer.
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
jimmack
EE Cleanup Volunteer
I will leave a recommendation in the Cleanup topic area that this question is:
Accept antons' comment as answer.
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
jimmack
EE Cleanup Volunteer