I believe Korma uses c3p0 for connection pooling right out of the box.
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient
There are examples in the documentations for both c3p0 and BoneCP:
http://clojure-doc.org/articles/ecosystem/java_jdbc/connection_pooling.html
Note: this is the home for the "official" java.jdbc documentation so
that it can be augmented by the community, rather than locked in the
java.jdbc repo w
Thanks.
I have used C3P0 for now... I will look at tomcat7 pool though
Josh
On Fri, Sep 13, 2013 at 3:19 PM, gixxi <
christian.meichs...@informatik.tu-chemnitz.de> wrote:
> Hi Josh,
>
> I would opt for using Tomcat 7 Pool API -
> http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html
>
> The f
Hi Josh,
I would opt for using Tomcat 7 Pool API -
http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html
The following code wraps the pool api and provides reading a config file
(ns foo
(:require [clojure.java.io :as io])
(:import [java.io PushbackReader])
(:gen-class))
(defn conf [file
Thanks alot.
Let me check them out.
Josh
On Fri, Sep 13, 2013 at 1:41 PM, Shantanu Kumar wrote:
> Hi Josh,
>
>
> On Friday, 13 September 2013 15:52:47 UTC+5:30, Josh Kamau wrote:
>>
>> Hello there ;
>>
>> I am in desparate need of a clojure.jdbc with a connection pool example.
>>
>
> You can s
Hi Josh,
On Friday, 13 September 2013 15:52:47 UTC+5:30, Josh Kamau wrote:
>
> Hello there ;
>
> I am in desparate need of a clojure.jdbc with a connection pool example.
>
You can see an example here that uses Apache DBCP (please excuse the plug):
https://github.com/kumarshantanu/clj-dbcp
There
Hello there ;
I am in desparate need of a clojure.jdbc with a connection pool example.
I have googled and the link to github example is broken.
Please help.
Thanks.
Josh
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, se