Commit 545fd9a
jdbc: support for DatabaseMetaData.getSQLStateType
Now we use SQLSTATE codes in most of the exceptional cases. To be
consistent with it we need to return an appropriate value from the
database metadata.
This commit changes the constant that says the driver works with
SQLSTATE codes rather than XOpen ones.
Closes #1191 parent 7ebd4f2 commit 545fd9a
File tree
2 files changed
+6
-1
lines changed- src
- main/java/org/tarantool/jdbc
- test/java/org/tarantool/jdbc
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1037 | 1037 | | |
1038 | 1038 | | |
1039 | 1039 | | |
1040 | | - | |
| 1040 | + | |
1041 | 1041 | | |
1042 | 1042 | | |
1043 | 1043 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
393 | 398 | | |
0 commit comments