I would like to know how to define a datasource in JBoss, which is not under the transaction control of the container.
Why? Because I am using Quartz Scheduler with persistent Jobs and it needs to obtain a datasource from JNDI from which it can get a connection where it can commit whenever it wants/needs to. I got this running easily under BEA Weblogic, but in JBoss I always get:
java.sql.SQLException: You cannot set autocommit during a managed transaction!
So how can I configure a datasource which allows me to execute a commit?
Best regards from sunny Black Forest, Germany,
Ok, found it myself:
Use a no-tx-datasource, as defined by jboss-ds_1_0.dtd.
Best regards from sunny Black Forest,