Skip to content

Commit 594caff

Browse files
committed
docs - extend examples for JDBC
1 parent de11778 commit 594caff

3 files changed

Lines changed: 13 additions & 1 deletion

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,12 @@ Connect To Database
257257
... url=jdbc:oracle:thin:@127.0.0.1:1521/db
258258
... driver_args=${CREDENTIALS}
259259
... jars=C:/ojdbc17.jar
260+
261+
# Set if getting error 'Could not commit/rollback with auto-commit enabled'
262+
Set Auto Commit False
263+
264+
# Set for automatically removing trailing ';' (might be helpful for Oracle)
265+
Set Omit Trailing Semicolon True
260266
```
261267
</details>
262268

doc/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/DatabaseLibrary/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,12 @@ class DatabaseLibrary(ConnectionManager, Query, Assertion):
236236
| ... url=jdbc:oracle:thin:@127.0.0.1:1521/db
237237
| ... driver_args=${CREDENTIALS}
238238
| ... jars=C:/ojdbc17.jar
239+
|
240+
| # Set if getting error 'Could not commit/rollback with auto-commit enabled'
241+
| Set Auto Commit False
242+
|
243+
| # Set for automatically removing trailing ';' (might be helpful for Oracle)
244+
| Set Omit Trailing Semicolon True
239245
== SQLite (sqlite3) ==
240246
| # Using custom parameters required
241247
| Connect To Database

0 commit comments

Comments
 (0)