From: Robert Spies <thewilford@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Jdbc3PoolingDataSource ssl question
Date: Fri, 2 Feb 2007 15:34:05 -0800
Message-ID: <b54c62f50702021534if008fabpf10f60b528764c1b@mail.gmail.com> (raw)
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: thewilford@gmail.com
Subject: Re: Jdbc3PoolingDataSource ssl question
In-Reply-To: <b54c62f50702021534if008fabpf10f60b528764c1b@mail.gmail.com>
References: <b54c62f50702021534if008fabpf10f60b528764c1b@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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