, July 13, 2001 6:14 PM
Subject: Re: Transaction problems
Hi Christian,
Frankly we have the same problem, trying to access the entity bean
through a session bean and not being able to rollback. However
rollback is working perfectly fine in stateful/stateless session bean.
One thing which I
Hi,
we're implementing an entity bean with transactional (container managed)
methods. This bean is accessed by
a session statefull bean. We have transactional problem when a method fails
(that is throws an EJBException) because orion doesn't rollback the
transaction.
Does anybody figure out how
don't really know what is going on in the background.
Any ideas?
Greg
-Original Message-
From: Christian Bagnoli [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 6:00 AM
To: Orion-Interest
Subject: Transaction problems
Hi,
we're implementing an entity bean with transactional
Hello Christian,
The ejb-name tag in method must match the ejb-name in entity
or session. Also, specify a trans-attribute.
Try putting this in your ejb-jar.xml:
container-transaction
method
ejb-nameMyLogEnt/ejb-name
method-name*/method-name
trans-attributeRequired/trans-attribute
Hi Christian,
Frankly we have the same problem, trying to access the entity bean
through a session bean and not being able to rollback. However
rollback is working perfectly fine in stateful/stateless session bean.
One thing which I noticed in your xml file is that you have not given
the
method-name*/method-name
trans-attributeRequired/trans-attribute
/method
/container-transaction
Cheers,
-Jon
-Original Message-
From: Christian Bagnoli [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 5:00 AM
To: Orion-Interest
Subject: Transaction problems
Hi,
we're
:[EMAIL PROTECTED]]On Behalf Of J Davis
Sent: Friday, July 13, 2001 7:44 AM
To: Orion-Interest
Subject: RE: Transaction problems
We would also be interested in a solution to this problem as we have
encountered the same thing. We are using 1.5.2 and Oracle 8.1.6 for our
situation.
We have also run
We have been using transactions successfully for a while nowor so we
thought.
Here is the scenario. We have a series of registration pages on our site.
We gather all the information we need, and at the end
we create a stateless session bean passing it all the information we need.
In this
2000 2:04 PM
Subject: Transaction problems...
We have been using transactions successfully for a while nowor so we
thought.
Here is the scenario. We have a series of registration pages on our site.
We gather all the information we need, and at the end
we create a stateless session bean passing it
|
| cc:
|
| Subject: Re:
10 matches
Mail list logo