pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Connection pool
11+ messages / 9 participants
[nested] [flat]

* Connection pool
@ 2002-03-04 14:28  mfernando <mfernando@paperlesspobox.com>
  0 siblings, 0 replies; 11+ messages in thread

From: mfernando @ 2002-03-04 14:28 UTC (permalink / raw)
  To: pgsql-jdbc

Hello 
I am using weblogic application server and postgresql.I need to create connection pool for jdbc.How can this be done?

Any ideas?


Monfort

^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Connection Pool
@ 2002-07-22 15:24  Mauro Mozzarelli <mauro@dsl.pipex.com>
  0 siblings, 1 reply; 11+ messages in thread

From: Mauro Mozzarelli @ 2002-07-22 15:24 UTC (permalink / raw)
  To: pgsql-jdbc

I have a question that is crucial to adoption of postgresql for a project: the 
Connection Pooling support to integrate with weblogic/websphere application 
servers is essential to the implementation. At present this is missing from
the jdbc driver. Is there any plan to support it in the near future?

Thank you in advance.

Regards,
 
-- 
Mauro Mozzarelli
phone: +44 7941 727378
email: mauro@dsl.pipex.com



^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Re: Connection Pool
@ 2002-07-22 18:53  Dave Cramer <Dave@micro-automation.net>
  parent: Mauro Mozzarelli <mauro@dsl.pipex.com>
  0 siblings, 0 replies; 11+ messages in thread

From: Dave Cramer @ 2002-07-22 18:53 UTC (permalink / raw)
  To: Mauro Mozzarelli <mauro@dsl.pipex.com>; +Cc: pgsql-jdbc

Mauro,

Do you need this implemented in the DataSource class?

Dave
On Mon, 2002-07-22 at 11:24, Mauro Mozzarelli wrote:
> I have a question that is crucial to adoption of postgresql for a project: the 
> Connection Pooling support to integrate with weblogic/websphere application 
> servers is essential to the implementation. At present this is missing from
> the jdbc driver. Is there any plan to support it in the near future?
> 
> Thank you in advance.
> 
> Regards,
>  
> -- 
> Mauro Mozzarelli
> phone: +44 7941 727378
> email: mauro@dsl.pipex.com
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
> 
> 






^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Connection Pool
@ 2003-02-28 16:38  Dirk Bromberg <bromberg@tzi.de>
  0 siblings, 0 replies; 11+ messages in thread

From: Dirk Bromberg @ 2003-02-28 16:38 UTC (permalink / raw)
  To: pgsql-jdbc

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

^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Connection Pool
@ 2003-03-02 19:06  Dirk Bromberg <bromberg@tzi.de>
  0 siblings, 1 reply; 11+ messages in thread

From: Dirk Bromberg @ 2003-03-02 19:06 UTC (permalink / raw)
  To: pgsql-jdbc

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

^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Re: Connection Pool
@ 2003-03-02 19:55  Rafal Kedziorski <rafcio@polonium.de>
  parent: Dirk Bromberg <bromberg@tzi.de>
  0 siblings, 1 reply; 11+ messages in thread

From: Rafal Kedziorski @ 2003-03-02 19:55 UTC (permalink / raw)
  To: bromberg@tzi.de; pgsql-jdbc

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




^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Re: Connection Pool
@ 2003-03-03 06:45  Dirk Bromberg <bromberg@tzi.de>
  parent: Rafal Kedziorski <rafcio@polonium.de>
  0 siblings, 0 replies; 11+ messages in thread

From: Dirk Bromberg @ 2003-03-03 06:45 UTC (permalink / raw)
  To: pgsql-jdbc

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




^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Connection Pool
@ 2003-07-13 02:36  yphillips@dlkconsulting.co.za
  0 siblings, 0 replies; 11+ messages in thread

From: yphillips@dlkconsulting.co.za @ 2003-07-13 02:36 UTC (permalink / raw)
  To: pgsql-jdbc

Good morning!

Where can find example code on Connection Pooling classes using PostgresQL JDBC 
driver?

Sincerely,
Yolanda



-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/



^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Connection Pool
@ 2007-06-05 06:27  Raghavendra MB <mb.ragu@gmail.com>
  0 siblings, 1 reply; 11+ messages in thread

From: Raghavendra MB @ 2007-06-05 06:27 UTC (permalink / raw)
  To: pgsql-jdbc

Hi,

I am using PostgresSQL 8.2 server. I would like to use JDBC connecton pool:
My application is pure core java desktop. Is there any readily available
pool for postgres ?

how to go about it.

Please suggest me.

regards
Raghu

^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Re: Connection Pool
@ 2007-06-05 14:09  Heikki Linnakangas <heikki@enterprisedb.com>
  parent: Raghavendra MB <mb.ragu@gmail.com>
  0 siblings, 1 reply; 11+ messages in thread

From: Heikki Linnakangas @ 2007-06-05 14:09 UTC (permalink / raw)
  To: Raghavendra MB <mb.ragu@gmail.com>; +Cc: pgsql-jdbc

Raghavendra MB wrote:
> I am using PostgresSQL 8.2 server. I would like to use JDBC connecton pool:
> My application is pure core java desktop. Is there any readily available
> pool for postgres ?

There's plenty of generic implementations. For example, Apache commons 
DBCP: http://jakarta.apache.org/commons/dbcp/

-- 
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com



^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Re: Connection Pool
@ 2007-06-05 15:22  Andreas Joseph Krogh <andreak@officenet.no>
  parent: Heikki Linnakangas <heikki@enterprisedb.com>
  0 siblings, 0 replies; 11+ messages in thread

From: Andreas Joseph Krogh @ 2007-06-05 15:22 UTC (permalink / raw)
  To: pgsql-jdbc

On Tuesday 05 June 2007 16:09:54 Heikki Linnakangas wrote:
> Raghavendra MB wrote:
> > I am using PostgresSQL 8.2 server. I would like to use JDBC connecton
> > pool: My application is pure core java desktop. Is there any readily
> > available pool for postgres ?
>
> There's plenty of generic implementations. For example, Apache commons
> DBCP: http://jakarta.apache.org/commons/dbcp/

I recommend C3PO, it's much simpler to set up in a standard application:

	    DataSource pooled = null;
	    try {
	        DataSource unpooled = 
DataSources.unpooledDataSource("jdbc:postgresql://localhost:5432/mydb",
	                "username",
	                "password");
	        pooled = DataSources.pooledDataSource( unpooled );
	    } catch (Exception e) {
	        e.printStackTrace();
	    }


-- 
Andreas Joseph Krogh <andreak@officenet.no>
Senior Software Developer / Manager
------------------------+---------------------------------------------+
OfficeNet AS            | The most difficult thing in the world is to |
Karenslyst Allé 11      | know how to do a thing and to watch         |
PO. Box 529 Skøyen      | somebody else doing it wrong, without       |
0214 Oslo               | comment.                                    |
NORWAY                  |                                             |
Tlf:    +47 24 15 38 90 |                                             |
Fax:    +47 24 15 38 91 |                                             |
Mobile: +47 909  56 963 |                                             |
------------------------+---------------------------------------------+



^ permalink  raw  reply  [nested|flat] 11+ messages in thread


end of thread, other threads:[~2007-06-05 15:22 UTC | newest]

Thread overview: 11+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-03-04 14:28 Connection pool mfernando <mfernando@paperlesspobox.com>
2002-07-22 15:24 Connection Pool Mauro Mozzarelli <mauro@dsl.pipex.com>
2002-07-22 18:53 ` Re: Connection Pool Dave Cramer <Dave@micro-automation.net>
2003-02-28 16:38 Connection Pool Dirk Bromberg <bromberg@tzi.de>
2003-03-02 19:06 Connection Pool Dirk Bromberg <bromberg@tzi.de>
2003-03-02 19:55 ` Re: Connection Pool Rafal Kedziorski <rafcio@polonium.de>
2003-03-03 06:45   ` Re: Connection Pool Dirk Bromberg <bromberg@tzi.de>
2003-07-13 02:36 Connection Pool yphillips@dlkconsulting.co.za
2007-06-05 06:27 Connection Pool Raghavendra MB <mb.ragu@gmail.com>
2007-06-05 14:09 ` Re: Connection Pool Heikki Linnakangas <heikki@enterprisedb.com>
2007-06-05 15:22   ` Re: Connection Pool Andreas Joseph Krogh <andreak@officenet.no>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox