View Single Post

   
  #1 (permalink)  
Old 04-16-2008, 01:34 AM
Robert Spies
 
Posts: n/a
Default Jdbc3PoolingDataSource ssl question

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.

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Reply With Quote