Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent behavoir for JobDetail.isConcurrentExectionDisallowed() #184

Closed
madness-inc opened this issue Sep 7, 2017 · 1 comment
Closed
Labels
stale Inactive items that will be automatically closed if not resurrected

Comments

@madness-inc
Copy link

madness-inc commented Sep 7, 2017

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

@stale
Copy link

stale bot commented Aug 3, 2021

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale Inactive items that will be automatically closed if not resurrected label Aug 3, 2021
@stale stale bot closed this as completed Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Inactive items that will be automatically closed if not resurrected
Projects
None yet
Development

No branches or pull requests

2 participants