Hi,

What app server are you running, I had same problem with WebLogic Server
5.1, but after installing service pack 8 and deploying my beans with SP8 jar
in classpath the rollback in create worked OK.

Regards,
Jouni Peltonen

------Original Message------
From: Pooja Keswani <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: January 18, 2001 6:40:39 AM GMT
Subject: Re: Container Managed Transactions in Entity Beans


Hi shelly,

thats exactly how my ejb-jar.xml looks.
It does not work.

Thanks for ur patience.

Pooja

On Thu, 18 January 2001, Shelly Aggrawal wrote:

>
> Is how  ur xml looks. Try doing this.
>
>  <method>
>    <ejb-name>xxx</ejb-name>
>    <method-intf>Home</method-intf>
>    <method-name>create</method-name>
>  </method>
>  <trans-attribute>Required</trans-attribute>
>
> ----- Original Message -----
> From: Pooja Keswani <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, January 18, 2001 11:32 AM
> Subject: Re: Container Managed Transactions in Entity Beans
>
>
> > Hi,
> >
> > I have tried giving the attribute in thexml as u said.
> > But it does not work.
> > If theres is a problem in the second insert, it doesnt rollback the
first
> one.
> >
> > pooja
> > On Thu, 18 January 2001, Shelly Aggrawal wrote:
> >
> > >
> > > In the xml file, just specify the method name and the transaction
> attribute.
> > > U do not need to write any code anywhere. By default the transaction
> > > attribute is specified as "Rquired" in the xml file.
> > >
> > >
> > > ----- Original Message -----
> > > From: Pooja Keswani <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Thursday, January 18, 2001 10:33 AM
> > > Subject: Container Managed Transactions in Entity Beans
> > >
> > >
> > > > Hi,
> > > >
> > > > I have an Entity bean and i want Container managed transaction for
it.
> The
> > > create method of the bean performs 3 SQL Inserts.
> > > >
> > > > How do i go about writing the ejb-jar.xml for it ?
> > > >
> > > > and do i have to write rollback in the catch SQLException of the
> create
> > > method.
> > > >
> > > > Any help will be appreciated.
> > > >
> > > > Thanks
> > > >
> > > > Pooja
> > > >
> > > >
> > > >
> > > > Chequemail.com - a free web based e-mail service that also pays!!!
> > > > http://www.chequemail.com
> > > >
> > > >
> > >
>
===========================================================================
> > > > 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".
> >
> >
> > Chequemail.com - a free web based e-mail service that also pays!!!
> > http://www.chequemail.com
> >
> >
>
===========================================================================
> > 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".


Chequemail.com - a free web based e-mail service that also pays!!!
http://www.chequemail.com

===========================================================================
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".


______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup

===========================================================================
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