On 2002.11.27 01:11:53 -0500 Dain Sundstrom wrote: > Is it legal to call getTransaction on the TransactionManager in > afterComplete? It seems to work, but is it legal?
I think so. > > -dain > > On Tuesday, November 26, 2002, at 11:55 PM, Dain Sundstrom wrote: > > > Is that the way is is supposed to work, because it is not the way it > > is today. When we have a Not Supported method the invocation in the > > context is not reset to null. I can make the change, but I want to be > > certain that this is the desired behavior. > > > > Also does anyone know the correct handling of the enterprise context > > transaction. Is it only for BMP beans? Should it be null otherwise? > > I would say yes to both. > > Why do we keep the transaction in the EnterpriseContext in the first place? Can we remove it and rely on the invocation's notion? david > > -dain > > > > On Tuesday, November 26, 2002, at 10:23 PM, David Jencks wrote: > > > >> On 2002.11.26 22:26:30 -0500 Dain Sundstrom wrote: > >>> OK we have a transaction associated with the thread, each invocation > >>> and the each context has a transaction (very confusing). Once we get > >>> by the tx interceptor should all of these be the same thing? > >> yes (at least the thread and invocation, I don't know about the > >> context, > >> isn't that a UserTx, which is almost completely unrelated?) > >> > >> If we are > >>> suspending the transaction for the invocation (Not Supported) should > >>> the ctx and invocation tx be null or just a suspended transaction? > >> > >> > >> Invocation should have null. You shouldn't be able to tell if there > >> was a > >> tx associated "upstream". > >> > >> IMO the invocation is the "master" and the threadlocal is there in > >> case you > >> can't get to the invocation (such as in the jca stuff). So the tx > >> interceptor needs to figure out what the current tx actually is, and > >> make > >> sure the txManager knows it so it can supply it per thread. > >> > >> david jencks > >>> > >>> -dain > >>> > >>> > >>> > >>> ------------------------------------------------------- > >>> This SF.net email is sponsored by: Get the new Palm Tungsten T > >>> handheld. Power & Color in a compact size! > >>> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > >>> _______________________________________________ > >>> Jboss-development mailing list > >>> [EMAIL PROTECTED] > >>> https://lists.sourceforge.net/lists/listinfo/jboss-development > >>> > >>> > >> > >> > >> ------------------------------------------------------- > >> This SF.net email is sponsored by: Get the new Palm Tungsten T > >> handheld. Power & Color in a compact size! > >> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > >> _______________________________________________ > >> Jboss-development mailing list > >> [EMAIL PROTECTED] > >> https://lists.sourceforge.net/lists/listinfo/jboss-development > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Get the new Palm Tungsten T > > handheld. Power & Color in a compact size! > > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > > _______________________________________________ > > Jboss-development mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-development > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Get the new Palm Tungsten T > handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > > ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
