You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I tried to write a custom implementation of JobDetail, overriding isConcurrentExectionDisallowed().
In StdJDBCDelegate.insertJobDetail() the value is stored correctly in the database (setBoolean(ps, 6, job.isConcurrentExectionDisallowed()); ).
But when reading the JobDetail in StdJDBCDelegate.selectJobDetail(), the value previously written to the database is not considered, since JobDetailImpl implements isConcurrentExectionDisallowed() only based on the fact whether @DisallowConcurrentExecution is present.
This means the implementation of StdJDBCDelegate.selectJobDetail is hard-tied to the JobDetailImpl implementation of JobDetail, making it hard to use custom implementations for that interface that do not want to use @DisallowConcurrentExecution.
What's the developers perspective here?
Regards
Matthias
The text was updated successfully, but these errors were encountered:
Hi,
I tried to write a custom implementation of
JobDetail
, overridingisConcurrentExectionDisallowed()
.In
StdJDBCDelegate.insertJobDetail()
the value is stored correctly in the database (setBoolean(ps, 6, job.isConcurrentExectionDisallowed());
).But when reading the
JobDetail
inStdJDBCDelegate.selectJobDetail()
, the value previously written to the database is not considered, sinceJobDetailImpl
implementsisConcurrentExectionDisallowed()
only based on the fact whether@DisallowConcurrentExecution
is present.This means the implementation of
StdJDBCDelegate.selectJobDetail
is hard-tied to theJobDetailImpl
implementation ofJobDetail
, making it hard to use custom implementations for that interface that do not want to use@DisallowConcurrentExecution
.What's the developers perspective here?
Regards
Matthias
The text was updated successfully, but these errors were encountered: