I've noticed that everything works as expected if I use:connection.prepareStatement(sql, Statement.RETURN_GENERATED_KEYS);
I've noticed that everything works as expected if I use:
connection.prepareStatement(sql, Statement.RETURN_GENERATED_KEYS);
pgsql-jdbc by date:
Соглашаюсь с условиями обработки персональных данных