mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
Perform nextKey within synchronization
Closes gh-36959
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ public class SqliteMaxValueIncrementer extends AbstractColumnMaxValueIncrementer
|
||||
|
||||
|
||||
@Override
|
||||
protected long getNextKey() {
|
||||
protected synchronized long getNextKey() {
|
||||
Connection con = DataSourceUtils.getConnection(getDataSource());
|
||||
Statement stmt = null;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user