Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group