I am creating a Spring Batch application using Java annotations. I have the @EnableBatchProcessing annotation, so I haven't explicitly defined a JobRepository or JobRepositoryFactory. This was working fine until today, when I started getting the "ORA-08177: can't serialize access for this transaction" error.
How can I change the isolation level on a JobRepository I don't create or interact with?
"How can I change the isolation level on a JobRepository I don't create or interact with?" In short, you don't. You need to create it yourself by extending the DefaultBatchConfigurer and overriding the createJobRepository method to provide your own customized instance.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With