google-code-export / h2database

Automatically exported from code.google.com/p/h2database
0 stars 1 forks source link

Double trace in executeUpdate(String sql, int autoGeneratedKeys) #138

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Run attached file.

2. Check trace:

11-13 15:04:45 jdbc[2]: 
/**/stat0.executeUpdate("INSERT INTO TEST VALUES(1, 'Hello');", 1);
11-13 15:04:45 jdbc[2]: 
/**/stat0.executeUpdate("INSERT INTO TEST VALUES(1, 'Hello');");
11-13 15:04:45 lock: 2 exclusive write lock requesting for TEST
11-13 15:04:45 lock: 2 exclusive write lock added for TEST
11-13 15:04:45 pageStore: log + s:2 table:15 row:( /* key:1 */ 1, 'Hello')
11-13 15:04:45 jdbc[2]: 
/*SQL #:1*/INSERT INTO TEST VALUES(1, 'Hello');

As result it is impossible to use generated java code.

Original issue reported on code.google.com by victor.p...@gmail.com on 13 Nov 2009 at 9:15

Attachments:

GoogleCodeExporter commented 9 years ago
H2 V1.2.122

Original comment by victor.p...@gmail.com on 13 Nov 2009 at 10:00

GoogleCodeExporter commented 9 years ago
Thanks a lot for the bug report! I will fix the problem.

Original comment by thomas.t...@gmail.com on 14 Nov 2009 at 9:33

GoogleCodeExporter commented 9 years ago
Fixed in version 1.2.124

Original comment by thomas.t...@gmail.com on 20 Nov 2009 at 4:54