Commits

Anonymous committed 29b42f7

QUARTZ-735: acquireNextTrigger executing on Managed Tx Connection when using JobStoreCMT and configured not to acquire triggers within lock.

git-svn-id: http://svn.opensymphony.com/svn/quartz/trunk@90469f7d36a-ea1c-0410-88ea-9fd03e4c9665

Comments (0)

Files changed (1)

src/java/org/quartz/impl/jdbcjobstore/JobStoreSupport.java

 	                });
     	}
     	else { // default behavior since Quartz 1.6.3 release
-	        return (Trigger)executeWithoutLock(
+	        return (Trigger)executeInNonManagedTXLock(
+	                null, /* passing null as lock name causes no lock to be made */
 	                new TransactionCallback() {
 	                    public Object execute(Connection conn) throws JobPersistenceException {
 	                        return acquireNextTrigger(conn, ctxt, noLaterThan);