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
[BUG] SqlStorageProvider assumes that all DataSource
s are autoCommit
enabled.
#128
Comments
DataSource
s are autoCommit
enabled.
kagkarlsson/db-scheduler#204 has similar issue. |
Wauw, thanks for the detailed report and PR - I indeed did not think about this. |
@rdehuyss I can confirm that this is the root cause of "No servers available?!" issues. My colleague encountered following exception while integrating JobRunr into our JHipster genereated app:
Just same as #106 and https://stackoverflow.com/questions/67436856/spring-boot-jobrunr-no-servers-available-error . I think release a new version to public with this fix will greatly help users first get in touch with JobRunr 🚀 |
@tan9 Thanks for your nice feedback! I'm doing a small refactoring to aid the development of new features and will hopefully release soon. I'll keep you posted! |
@tan9 Solved with the release of JobRunr 3.0.0. It should arrive soon in Maven Central. |
Describe the bug
If
dataSource.autoCommit
was set tofalse
, various database operation failed due to changes not been committed.We are using JHipster to generate our application, and the default Hikari configuration of
auto-commit
isfalse
.Environment
I'm using version: 2.0.1
I'm running on: JDK 8
I'm using the following StorageProvider: SQLServerStorageProvider
To Reproduce
Test cases here: tan9@3859c56
Expected behavior
JobRunr managed its transaction automatically, not dependents on DataSource configuration.
Additional context
Maybe related to: #106
The text was updated successfully, but these errors were encountered: