java.jdbc

Global connection mechanism / connection pooling

Details

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

Description

Nicolas Buduroi: What I would like to see added is a global connection mechanism like in ClojureQL and Lobos. We could even add a connection pool behind the scene.

Activity

Hide
Sean Corfield added a comment -

For production usage, I've been relying on c3p0 for connection pooling which works very well with c.j.j so I'm not sure that we need something specific within the library itself. What we do need, of course, is documentation on how to use something like c3p0 for connection pooling with c.j.j!

Show
Sean Corfield added a comment - For production usage, I've been relying on c3p0 for connection pooling which works very well with c.j.j so I'm not sure that we need something specific within the library itself. What we do need, of course, is documentation on how to use something like c3p0 for connection pooling with c.j.j!
Hide
Sean Corfield added a comment -

Given the ease of using 3rd-party connection pooling libraries like c3p0, I think this is low priority (and I may simply close out after documenting how to use c3p0 with c.j.j).

Show
Sean Corfield added a comment - Given the ease of using 3rd-party connection pooling libraries like c3p0, I think this is low priority (and I may simply close out after documenting how to use c3p0 with c.j.j).
Hide
Sean Corfield added a comment -

I've documented it here: https://github.com/clojure/java.jdbc/blob/master/doc/clojure/java/jdbc/ConnectionPooling.md

I don't believe this should be in c.j.j itself so I'm going to close this.

Show
Sean Corfield added a comment - I've documented it here: https://github.com/clojure/java.jdbc/blob/master/doc/clojure/java/jdbc/ConnectionPooling.md I don't believe this should be in c.j.j itself so I'm going to close this.
Hide
Sean Corfield added a comment -

Documented how to use a 3rd party library for connection pooling which I think is sufficient since it's so easy.

Show
Sean Corfield added a comment - Documented how to use a 3rd party library for connection pooling which I think is sufficient since it's so easy.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: