Thread: Connection Pool

Connection Pool

From
"Dirk Bromberg"
Date:
Hi,
 
I want to use the Connection Pool from the pg73jdbc3.jar.
 
What must I do ?
 
1. setup up the Pool
2. get Connections
3. return the Connections
 
any Code Examples ?
 
THX
 
Dirk Bromberg

Re: Connection Pool

From
Rafal Kedziorski
Date:
hi,

take a look on this:

http://jakarta.apache.org/commons/dbcp.html

Are You working on stand alone application or are You using application server?


Rafal

At 20:06 02.03.2003 +0100, Dirk Bromberg wrote:
>Hi,
>
>I want to use the Connection Pool from the pg73jdbc3.jar.
>
>What must I do ?
>
>1. setup up the Pool
>2. get Connections
>3. return the Connections
>
>any Code Examples ?
>
>THX
>
>Dirk Bromberg


Re: Connection Pool

From
"Dirk Bromberg"
Date:
I need the pool for a stand alone application.

it an application with multi agents wich are searching on the postgres
and i don't want to open 200 or more connections to the db.

this looks nice so i will try if it works for me:
http://jakarta.apache.org/commons/dbcp.html

THX

Dirk Bromberg


>-----Ursprüngliche Nachricht-----
>Von: pgsql-jdbc-owner@postgresql.org
>[mailto:pgsql-jdbc-owner@postgresql.org] Im Auftrag von Rafal
>Kedziorski
>Gesendet: Sonntag, 2. März 2003 20:56
>An: bromberg@tzi.de; pgsql-jdbc@postgresql.org
>Betreff: Re: [JDBC] Connection Pool
>
>
>hi,
>
>take a look on this:
>
>http://jakarta.apache.org/commons/dbcp.html
>
>Are You working on stand alone application or are You using
>application server?
>
>
>Rafal
>
>At 20:06 02.03.2003 +0100, Dirk Bromberg wrote:
>>Hi,
>>
>>I want to use the Connection Pool from the pg73jdbc3.jar.
>>
>>What must I do ?
>>
>>1. setup up the Pool
>>2. get Connections
>>3. return the Connections
>>
>>any Code Examples ?
>>
>>THX
>>
>>Dirk Bromberg
>
>
>---------------------------(end of
>broadcast)---------------------------
>TIP 6: Have you searched our list archives?
>
>http://archives.postgresql.org
>
>