Ahhh... Ok, so if I do the TX_REQUIRES_NEW attribute, if that sub transaction
commits, but the original transaction fails, does this sub transaction get
rolledback?

thanx,
-gabe

Chris Raber wrote:

> You are correct, since you haven't commited yet, the ejbStore call is still
> pending for the entity bean...
>
> Sounds like you need your entity bean to execute in its own transaction. You
> could force this by having its transaction mode be TX REQUIRES NEW
>
> -Chris.
begin:          vcard
fn:             Gabriel Lawrence
n:              Lawrence;Gabriel
org:            Kovair<br>The power to .wow your customers.
adr:            2 North First Street ;;Suite 212;San Jose;Ca;95113-1202;USA
email;internet: [EMAIL PROTECTED]
title:          Architect
tel;work:       (408) 491-9731
note:           The power to .wow your customers.
x-mozilla-cpt:  ;0
x-mozilla-html: FALSE
version:        2.1
end:            vcard

Reply via email to