The entity needs to declare "supports", you can also track the Tx Number in
the console
marc
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Oscar Radio
> Sent: Friday, September 15, 2000 5:19 AM
> To: '[EMAIL PROTECTED]'
> Subject: [jBoss-User] transaction problem again
>
>
> Hi all,
>
> Thanks to all the people that had helped me with my transactions
> problems, I hope this will be the last problem.
> I manually start a transaction in a stateful, bean managed
> transaction, like
> this, in the create method:
>
> transaccion = context.getUserTransaction();
> this.transaccion.begin();
>
>
> So then from the client part I call another bean, this one is
> stateful and container manage transaction with all of it's methods
> "required". And that bean access a entity bean that create a new
> record in a
> table, but when I do a rollback into the first bean where I manually start
> the transaction, the rollback, rollbacks all the data of its bean, but not
> the transactions made in the other bean created after I manually begin the
> transaction.
>
> My question is how can I start a transaction and all the other
> beans that I
> crate from the client part became port of this transaction.
>
> Thanks oscar.
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
>
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]