[#7761] JZ0NK: Generated keys are not available in Sybase ASE when calling UpdatableRecord.store() on a table without identity
This commit is contained in:
parent
6dda3493e8
commit
328730ab3f
@ -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>();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user