Re: [QUESTIONS] Accessing Postgresfrom JBuilder using JDBC

From: Pierre Habraken <Pierre(dot)Habraken(at)ujf-grenoble(dot)fr>
To: Peter T Mount <postgresdev(at)maidast(dot)demon(dot)co(dot)uk>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [QUESTIONS] Accessing Postgresfrom JBuilder using JDBC
Date: 1998-03-19 13:16:36
Message-ID: 35111AB4.3738274B@ujf-grenoble.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Peter T Mount wrote:
>
> That's because the driver isn't loaded. Two ways to do this:
>
> 1) Add -Djdbc.drivers=postgresql.Driver although this won't work for
> JBuilder.
>
> 2) Add something like:
> Class.forName("postgresql.Driver");
> to your code.

Thanks for your reply.
I tried adding the explicit loading of the driver in the java code, but
this had no effect, which is not surprising in my mind.
It is not clear whether the fact that JBuilder components does not
behave well is due to these components or to the JBDC driver...

Pierre
--
________________________________________________________________________
Pierre HABRAKEN - mailto:Pierre(dot)Habraken(at)ujf-grenoble(dot)fr
Tél: 04 76 51 48 87 - Fax: 04 76 51 45 63
Université Joseph Fourier - Département Scientifique Universitaire
Adresse postale : CAFIM/DSU BP53 38041 Grenoble Cedex 9
________________________________________________________________________

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message David Foster 1998-03-19 16:30:11 Latest postodbc?
Previous Message Daniel Albeseder 1998-03-19 10:04:10 PostgresSQL 6.2.1 with PostODBC 0.21/0.35