users@glassfish.java.net

Re: Is there a programmatic way to set transaction support on connection fa

From: <glassfish_at_javadesktop.org>
Date: Thu, 18 Oct 2007 11:59:25 PDT

Hello and thanks,

The first link you provided appeard to be broken as for the second yes I'm aware you can manually set factories to not have transaction support. I was not aware of the third undocumented feature. I'll give it a try though thanks.

S.D.

> For JDBC applications it is possible through
> appserver specific api.
> Refer :
> Using Non-transactional connections at :
> http://docs.sun.com/app/docs/doc/819-3672/beamu?a=view
>
>
> For connector resources,
> you can set "trasaction-support" appropriately (No
> Transaction).
> http://docs.sun.com/app/docs/doc/819-3675/create-conne
> ctor-connection-pool-1?a=view
>
> Or
>
> while doing lookup of the resource, it can be
> ctx.lookup("RESOURCENAME__nontx"); [append
> "__nontx"]
> bove option is application server specific and is an
> undocumented feature.
>
> Thanks,
> -Jagadish
[Message sent by forum member 'sdoyle' (sdoyle)]

http://forums.java.net/jive/thread.jspa?messageID=241016