Replies: 1 comment 4 replies
-
I think this is because the multi-version concurrency control is not active by default in HSQLDB. Can you add Here is an example: |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As the title says. I've tried the same code base with
H2
and the job doesn't hang. When it hangs, pausing the debugger showsThread 1
is waiting forThread 2
atHsqlMaxValueIncrementer
andThread 2
is waiting forThread 1
. Another case of thread deadlock.Here is the entire example: https://github.com/geiz123/async-batch-test
It has two classes.
AppDataSourceConfiguration
just setup a datasource bean for the batch job to use.AppConfiguration
sets up everything else,step
,reader
, main method, and etc.Did I setup my batch job incorrectly?
Beta Was this translation helpful? Give feedback.
All reactions