Hi,
Since ejb1.1 entity beans are always container-managed transaction. So
calling ejbContext.getUserTransaction() will allso throw an exception!
/Francis
java wrote:
>
> Hi
> what i am doing is getting the transaction via
> entityobject.getUserTransaction() in the first method that i called and
> usertransaction.begin();
>
> but this give an error while deloying that getUserTransaction() can only be
> used for bean Managed transactions.
> so how do i start the first transaction
> Ple help as this is urgent
>
> Thanks in advance
>
> ----- Original Message -----
> From: "SUBSCRIBE EJB-INTEREST manoj". <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, September 04, 2000 11:23 AM
> Subject: Re: Transcation Control in entity
>
> > we start a new transaction with method and all 3 call should be
> > transaction required
> > if one of them is failed then trasanction will be rollback by container
> in
> > entity bean.
> > manoj
> >
> >
> ===========================================================================
> > 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".
> >
> >
>
> ===========================================================================
> 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".
--
[EMAIL PROTECTED]
MATHEMA Software GmbH
N�gelsbachstra�e 25 b
91052 E r l a n g e n
D e u t s c h l a n d
Tel +49(0)9131/8903-0
Fax +49(0)9131/8903-55
http://www.mathema.de
===========================================================================
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".