[#7761] JZ0NK: Generated keys are not available in Sybase ASE when calling UpdatableRecord.store() on a table without identity

This commit is contained in:
Lukas Eder 2018-08-16 14:14:58 +02:00
parent 6dda3493e8
commit 328730ab3f

View File

@ -687,7 +687,19 @@ abstract class AbstractDMLQuery<R extends Record> extends AbstractQuery {
ctx.rows(result);
listener.executeEnd(ctx);
rs = ctx.statement().getGeneratedKeys();
try {
rs = ctx.statement().getGeneratedKeys();
}
catch (SQLException e) {
throw e;
}
try {
List<Object> list = new ArrayList<Object>();