[x] You use the code formatters provided here and have them applied to your changes. Don’t submit any formatting related changes.
[x] You submit test cases (unit or integration tests) that back your changes.
[ ] You added yourself as author in the headers of the classes you touched. Amend the date range in the Apache license header if needed. For new types, add the license header (copy from another file and set the current year only).
When reading this article, I realized transaction might be missed and party hat Toy can get inserted even when later Minion version update throws OptimisticLockingFailureException. Test confirmed that, so I added transaction handling with annotation.
When reading this article, I realized transaction might be missed and party hat
Toy
can get inserted even when laterMinion
version update throwsOptimisticLockingFailureException
. Test confirmed that, so I added transaction handling with annotation.