<< Back to previous view

[JDBC-4] Global connection mechanism / connection pooling Created: 08/May/11  Updated: 01/Jun/16  Resolved: 10/Aug/11

Status: Closed
Project: java.jdbc
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Enhancement Priority: Minor
Reporter: Sean Corfield Assignee: Sean Corfield
Resolution: Completed Votes: 0
Labels: None


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.

Comment by Sean Corfield [ 09/Jul/11 12:23 PM ]

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!

Comment by Sean Corfield [ 17/Jul/11 3:31 AM ]

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).

Comment by Sean Corfield [ 10/Aug/11 2:21 AM ]

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.

Comment by Sean Corfield [ 10/Aug/11 2:22 AM ]

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

Generated at Tue Jan 16 21:24:39 CST 2018 using JIRA 4.4#649-r158309.