Skip site navigation (1) Skip section navigation (2)

Jdbc3PoolingDataSource ssl question

From: "Robert Spies" <thewilford(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Jdbc3PoolingDataSource ssl question
Date: 2007-02-02 23:34:05
Message-ID: b54c62f50702021534if008fabpf10f60b528764c1b@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
Hello, I am using the Jdbc3PoolingDataSource to set up a
connection pool.  I am using it in the following manner:

Jdbc3PoolingDataSource source = new Jdbc3PoolingDataSource();
 source.setDataSourceName("DB data source");
 source.setServerName("localhost");
 source.setDatabaseName("test");
 source.setUser("testuser");
 source.setPassword("testpassword");
 source.setMaxConnections(10);
...
Connection con = source.getConnection();

The problem is that I want to use ssl when connection to the database,
but I cannot figure out how to enable ssl with the
Jdbc3PoolingDataSource.  Can anyone help me?  Thanks.

Responses

pgsql-jdbc by date

Next:From: Kris JurkaDate: 2007-02-02 23:50:30
Subject: Re: Jdbc3PoolingDataSource ssl question
Previous:From: Kris JurkaDate: 2007-02-02 20:04:41
Subject: Re: out of memory error

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group