Hi

When all the methods are required it works fine !

When I set not transaction attribute at all it works fine, too !!

When I use a transaction it works fine !

The only problem I see here is that (IMO) the tx-attribute
"Supports" should work with w/o a transaction the same
way as when you don't have a transaction.
BTW I use commit option A.

Andy

----- Original Message ----- 
From: "Scott M Stark" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, February 17, 2002 7:48 AM
Subject: Re: [JBoss-dev] Entity Bean with transaction attribute "Supports"


> You would have to show the complete resource utilization and
> transaction graph to say. The create will run effectively as NotSupported
> while the find should be running as Required in the scope of the
> user tx. There is a lot of leeway in the container behavior in the
> case of Supports resulting in execution without a transaction context.
> What happens if the Supports is changed to Required?
> 
> xxxxxxxxxxxxxxxxxxxxxxxx
> Scott Stark
> Chief Technology Officer
> JBoss Group, LLC
> xxxxxxxxxxxxxxxxxxxxxxxx
> ----- Original Message ----- 
> From: "Andreas Schaefer" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, February 16, 2002 11:36 PM
> Subject: [JBoss-dev] Entity Bean with transaction attribute "Supports"
> 
> 
> > Hi Geeks
> > 
> > On the current JBoss 2.4 branch:
> > 
> > An Entity Bean with transaction attribute "Supports" is
> > created outside a user transaction directly by the 
> > client (Java client) and just afterwards looked up with
> > "findByPrimaryKey" with throws an ObjectNotFound-
> > Exception. When the same call is made within a
> > transaction everything works fine !
> > 
> > Do I miss anything here or is this a bug ?
> > 
> > xxxxxxxxxxxxxxxxx
> > Andreas Schaefer
> > Senior Consultant
> > JBoss Group, LLC
> > xxxxxxxxxxxxxxxxx
> > 
> > 
> > 
> > _______________________________________________
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-development
> > 
> 
> 
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> 



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to