Re: driver initialization and connection separation

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Richard Troy <rtroy(at)ScienceTools(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: driver initialization and connection separation
Date: 2010-01-31 00:22:19
Message-ID: 4B64CD3B.7010003@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Richard Troy 2010-01-31 01:31:19 Re: driver initialization and connection separation
Previous Message Richard Troy 2010-01-30 23:44:06 driver initialization and connection separation