jhouse  committed 29b42f7

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


  • Participants
  • Parent commits 590b6b7

Comments (0)

Files changed (1)

File src/java/org/quartz/impl/jdbcjobstore/

     	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);