Re: driver initialization and connection separation - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: driver initialization and connection separation
Date
Msg-id 4B64CD3B.7010003@opencloud.com
Whole thread Raw
In response to driver initialization and connection separation  (Richard Troy <rtroy@ScienceTools.com>)
Responses Re: driver initialization and connection separation
List pgsql-jdbc
Richard Troy wrote:

> I got the
> connectivity working just fine, thank you, but when I then asked the
> application to switch between encrypted and non-encrypted connections, it
> "broke."

What were you trying to do exactly, and how did it break?

> A modest amount of testing showed that when the app. attempted to
> reload the driver, the Postgres JDBC driver wasn't initializing as
> outlined here:
>
> http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Class.html#forName%28java.lang.String%29

Well, classes only ever get initialized once.

-O

pgsql-jdbc by date:

Previous
From: Richard Troy
Date:
Subject: driver initialization and connection separation
Next
From: Lew
Date:
Subject: Re: issuing insert preparedstatement queries with default values