Support :auto-commit option on get-connection

Description

In order to better support streaming queries, it would be nice if you could filter certain options down to the get-connection call (e.g., :auto-commit to invoke .setAutoCommit()).

These could either be assoc'd into the db-spec or options could be passed into all get-connection calls – the latter is probably a cleaner solution, with the usual caveat of being able to set defaults in the db-spec itself.

Suggested options to support: :auto-commit, :read-only – any others?

Environment

None

Activity

Show:

Sean Corfield July 13, 2017 at 1:32 AM

Available in 0.7.0-beta5

Completed

Details

Assignee

Reporter

Priority

Created July 5, 2017 at 6:29 PM
Updated July 13, 2017 at 1:32 AM
Resolved July 13, 2017 at 1:32 AM

Flag notifications