EJB Transaction (Session Bean - Entitiy Bean)

Discussion in 'Java' started by X3, Oct 1, 2004.

  1. X3

    X3 Guest

    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:

    Miten.
    X3, Oct 1, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mick Willis
    Replies:
    1
    Views:
    519
    Sudsy
    Sep 3, 2003
  2. Replies:
    1
    Views:
    387
    Manish Pandit
    Sep 13, 2006
  3. Replies:
    1
    Views:
    449
    EricF
    Aug 1, 2007
  4. mike
    Replies:
    0
    Views:
    353
  5. Raymond Schanks
    Replies:
    0
    Views:
    635
    Raymond Schanks
    Aug 3, 2010
Loading...

Share This Page