EJB Transaction (Session Bean - Entitiy Bean)

X

X3

Hello,

I have question regarding transaction.

I have session bean initiate container managed transaction and entity
bean participates in it with REQUIRED attribute. Entity bean throws
SQLException and Session Bean catches and forgets to
setRollbackOnly/rethrow Application Exception or just throw
EJBExcepation/System Exception.

is transaction rollback done?
if not what will be database record state which gave that
SQLException? will it be committed or rollbacked?

reply: (e-mail address removed)

Miten.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top