Skip to content

An attempt to recreate a bug that seemed to be happening due to incorrect JPA transaction boundaries

License

Notifications You must be signed in to change notification settings

HamburgChimps/wtf-jpa-transactions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WTF JPA Transactions

This repository is an attempt to replicate a bug I was seeing in a larger application where it appeared that data was not being persisted to a database even after an explicit call to flush(). Unfortunately, I haven't been able to replicate it in this simple application.

I had thought that the bug had something to do with incorrectly setting JPA transaction boundaries but no matter what I try in this small demonstration application I can't get it to happen. Perhaps I was barking up the wrong tree.

Feel free to check out the code and run the application with ./mvnw spring-boot:run.

About

An attempt to recreate a bug that seemed to be happening due to incorrect JPA transaction boundaries

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages