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 02:29:51 PDT

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-connector-connection-pool-1?a=view

Or

while doing lookup of the resource, it can be ctx.lookup("RESOURCENAME__nontx"); [append "__nontx"]
Above option is application server specific and is an undocumented feature.

Thanks,
-Jagadish
[Message sent by forum member 'jr158900' (jr158900)]

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