Hi Dheeraj,
        Specs says you should use these methods from container managed
transactional beans. You cannot use them in bean managed transaction.
Since in bean managed transaction you hava the control .And in transaction
managed beans these methods (setRollba...) that the transaction should not
be commited.

Regards
Ashwani Kalra
E-Comm Group
NIIT Ltd. India


> ----------
> From:         Dheeraj Goswami (CTS)[SMTP:[EMAIL PROTECTED]]
> Reply To:     A mailing list for Enterprise JavaBeans development
> Sent:         Wednesday, July 19, 2000 10:49 AM
> To:   [EMAIL PROTECTED]
> Subject:      xxxRollbackOnly() methods in bean-managed transactions
>
> How can i used setRollbackOnly() and getRollbackOnly() methods in
> bean-managed transactions if at all it is possible, bcos most of the time
> we
> use these methods in container-managed transactions.
>
>
> TIA
> Dheeraj Goswami
>
> ==========================================================================
> =
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
>
>
Visit http://www.NetVarsity.com for online learning

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to