Oops
On 2001.05.24 16:48:56 -0400 David Jencks wrote:
> Hi,
> 
> I'm not sure why what you are doing doesn't work, but even more I don't
> understand why you are trying to manage the transactions yourself.  I
> would
> expect the code you show to be in a session bean.  From a bean, you can
> call setRollbackOnly() on the EJBContext to force the cmt to be rolled
> back
> when the container decides it's over.  Is there some reason this won't
> work
> for you?

<oops>  If this is "inside" another transaction you can put the code in
> a
> separate method with RequiresNew transaction attribute.</oops> this would
have to be in a separate bean, too, to avoid reentry problems.  Sorry for
this confusion.  Do you have several transactions going on like this?
> 
> david jencks
> 
> 
> On 2001.05.24 15:30:07 -0400 David Esposito wrote:
> > Howdy people ...
> > 
> > I have been building a client application that needs to manipulate
<snip>


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

Reply via email to