pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Richard Troy <rtroy@ScienceTools.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: driver  initialization and connection separation
Date: Sun, 31 Jan 2010 13:22:19 +1300
Message-ID: <4B64CD3B.7010003@opencloud.com> (raw)
In-Reply-To: <Pine.LNX.4.33.1001301513270.6187-100000@denzel.in>
References: <Pine.LNX.4.33.1001301513270.6187-100000@denzel.in>

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



view thread (7+ messages)  latest in thread

Message-ID: <4B64CD3B.7010003@opencloud.com>
Permalink:  ../4B64CD3B.7010003@opencloud.com/
Also on:    postgresql.org/message-id/4B64CD3B.7010003@opencloud.com

 · 

reply

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: oliver@opencloud.com, rtroy@ScienceTools.com
  Subject: Re: driver  initialization and connection separation
  In-Reply-To: <4B64CD3B.7010003@opencloud.com>
  References: <Pine.LNX.4.33.1001301513270.6187-100000@denzel.in> <4B64CD3B.7010003@opencloud.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