Perform nextKey within synchronization

Closes gh-36959
This commit is contained in:
Juergen Hoeller
2026-06-22 21:51:40 +02:00
parent 325c3e1ec7
commit bae022a0fc
@@ -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 {