Skip to content

auloin/job-not-enqueued-kotlin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The issue is that jobs are not saved when using Spring without @Transactional and with autoCommit=false. Issue is fix in v7.

To reproduce the bug set the following in application.properties

spring.datasource.hikari.auto-commit=false

Start a MySQL database:

docker run --name job-not-enqueued-issue-mysql-db -p 3306:3306 \
 -e MYSQL_ROOT_PASSWORD=my-secret-pw -e MYSQL_USER=test -e MYSQL_PASSWORD=testing -e MYSQL_DATABASE=jobrunr \
 -d mysql:8.0

Remove the DB:

docker rm -f job-not-enqueued-issue-mysql-db

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages