Commit f98f69f
Disable JDBC auto-commit on new connections
ojdbc17 23.x defaults auto-commit to true (per JDBC spec), while older
Oracle drivers defaulted to false. The gem relies on explicit commit
and rollback, so every commit call raised ORA-17273 on JRuby CI.
Set setAutoCommit(false) explicitly after creating raw JDBC connections
in both the production code path and the spec test harness to restore
the long-standing behavior regardless of driver default.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent f231661 commit f98f69f
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
0 commit comments