java.jdbc

Support :auto-commit option on get-connection

Details

  • Type: Enhancement Enhancement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

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?

Activity

Hide
Sean Corfield added a comment -

Available in 0.7.0-beta5

Show
Sean Corfield added a comment - Available in 0.7.0-beta5

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: