pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedjdbc examples.
6+ messages / 6 participants
[nested] [flat]
* jdbc examples.
@ 1998-06-18 05:10 Lam Nguyen <lnguyen@osf1.gmu.edu>
0 siblings, 2 replies; 6+ messages in thread
From: Lam Nguyen @ 1998-06-18 05:10 UTC (permalink / raw)
To: pgsql-interfaces
Hi,
I am using linux slackware, kernel 2.0.33. I wonder if anyone
out there has successfully used jdbc with postgresql-6.3.2. I am
trying to run the examples and so far no luck. Getting desperate.
Thanks,
--lam
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: [INTERFACES] jdbc examples.
@ 1998-06-18 08:33 Ralf Berger <Ralf.Berger@ipk.fhg.de>
parent: Lam Nguyen <lnguyen@osf1.gmu.edu>
1 sibling, 0 replies; 6+ messages in thread
From: Ralf Berger @ 1998-06-18 08:33 UTC (permalink / raw)
To: Lam Nguyen <lnguyen@osf1.gmu.edu>; +Cc: pgsql-interfaces
Lam Nguyen wrote:
>
> Hi,
> I am using linux slackware, kernel 2.0.33. I wonder if anyone
> out there has successfully used jdbc with postgresql-6.3.2. I am
> trying to run the examples and so far no luck. Getting desperate.
>
> Thanks,
>
> --lam
I'm using JDBC with postgresql with no problems. Perhaps you should
describe your problem.
The mistake made by many JDBC-Newbies is that they don't configure
their postmaster with '-i', please check this. A nother problem
is to fiddle with the pg_hba.conf.
Regards
Ralf
--
Fraunhofer IPK
Dipl.-Inform. Ralf Berger
Pascalstr. 8-9
10587 Berlin
Tel.: ++49-(0)30 390 06 129
Fax.: ++49-(0)30 391 10 37
---
In anything at all, perfection is finally attained not when
there is no longer anything to add, but when there is
no longer anything to take away.
Antoine de Saint Exupery
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: [INTERFACES] jdbc examples.
@ 1998-06-19 17:39 Peter T Mount <pgint@maidast.demon.co.uk>
parent: Lam Nguyen <lnguyen@osf1.gmu.edu>
1 sibling, 0 replies; 6+ messages in thread
From: Peter T Mount @ 1998-06-19 17:39 UTC (permalink / raw)
To: Lam Nguyen <lnguyen@osf1.gmu.edu>; +Cc: pgsql-interfaces
On Thu, 18 Jun 1998, Lam Nguyen wrote:
>
>
> Hi,
> I am using linux slackware, kernel 2.0.33. I wonder if anyone
> out there has successfully used jdbc with postgresql-6.3.2. I am
> trying to run the examples and so far no luck. Getting desperate.
Take a look at the small faq I have at http://www.retep.org.uk/postgres
--
Peter T Mount peter@retep.org.uk or petermount@earthling.net
Main Homepage: http://www.retep.org.uk
************ Someday I may rebuild this signature completely ;-) ************
Work Homepage: http://www.maidstone.gov.uk Work EMail: peter@maidstone.gov.uk
^ permalink raw reply [nested|flat] 6+ messages in thread
* jdbc examples
@ 1998-07-08 12:00 Cyril FERRAND <cferran2@iutsoph.unice.fr>
0 siblings, 1 reply; 6+ messages in thread
From: Cyril FERRAND @ 1998-07-08 12:00 UTC (permalink / raw)
To: pgsql-interfaces
Hello
I have compiled JDBC interface with JDK1.1.3. But I try to run
examples but I Cant, I have :
PostgreSQL basic test v6.3 rev 1
Exception caught.
java.lang.ClassNotFoundException: postgresql.Driver
java.lang.ClassNotFoundException: postgresql.Driver
at example.monbasic.<init>(monbasic.java:20)
at example.monbasic.main(monbasic.java:67)
???
thanks for your answer
Cyril
--
*************************************************************************
* Cyril Ferrand : mailto:cyril.ferrand@sophia.inria.fr *
* http://www.mygale.org/05/ironmask *
*************************************************************************
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: [INTERFACES] jdbc examples
@ 1998-07-08 13:33 Herouth Maoz <herouth@oumail.openu.ac.il>
parent: Cyril FERRAND <cferran2@iutsoph.unice.fr>
0 siblings, 1 reply; 6+ messages in thread
From: Herouth Maoz @ 1998-07-08 13:33 UTC (permalink / raw)
To: Cyril.Ferrand@sophia.inria.fr; pgsql-interfaces
At 15:00 +0300 on 8/7/98, Cyril FERRAND wrote:
> PostgreSQL basic test v6.3 rev 1
>
> Exception caught.
> java.lang.ClassNotFoundException: postgresql.Driver
> java.lang.ClassNotFoundException: postgresql.Driver
> at example.monbasic.<init>(monbasic.java:20)
> at example.monbasic.main(monbasic.java:67)
I think you don't have the postgresql.jar archive in your classpath. You
should have the jar itself, not just its directory, as part of the
CLASSPATH variable.
Herouth
--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: [INTERFACES] jdbc examples
@ 1998-07-09 06:22 Peter T Mount <peter@retep.org.uk>
parent: Herouth Maoz <herouth@oumail.openu.ac.il>
0 siblings, 0 replies; 6+ messages in thread
From: Peter T Mount @ 1998-07-09 06:22 UTC (permalink / raw)
To: Herouth Maoz <herouth@oumail.openu.ac.il>; +Cc: Cyril.Ferrand@sophia.inria.fr; pgsql-interfaces
On Wed, 8 Jul 1998, Herouth Maoz wrote:
> At 15:00 +0300 on 8/7/98, Cyril FERRAND wrote:
>
>
> > PostgreSQL basic test v6.3 rev 1
> >
> > Exception caught.
> > java.lang.ClassNotFoundException: postgresql.Driver
> > java.lang.ClassNotFoundException: postgresql.Driver
> > at example.monbasic.<init>(monbasic.java:20)
> > at example.monbasic.main(monbasic.java:67)
>
> I think you don't have the postgresql.jar archive in your classpath. You
> should have the jar itself, not just its directory, as part of the
> CLASSPATH variable.
Yes, ideally, only the jar file should be included in the classpath.
If the extracted class files were used, then the parent directory of the
postgresql directory needs to be in the classpath.
--
Peter T Mount peter@retep.org.uk or petermount@earthling.net
Main Homepage: http://www.retep.org.uk
************ Someday I may rebuild this signature completely ;-) ************
Work Homepage: http://www.maidstone.gov.uk Work EMail: peter@maidstone.gov.uk
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~1998-07-09 06:22 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1998-06-18 05:10 jdbc examples. Lam Nguyen <lnguyen@osf1.gmu.edu>
1998-06-18 08:33 ` Ralf Berger <Ralf.Berger@ipk.fhg.de>
1998-06-19 17:39 ` Peter T Mount <pgint@maidast.demon.co.uk>
1998-07-08 12:00 jdbc examples Cyril FERRAND <cferran2@iutsoph.unice.fr>
1998-07-08 13:33 ` Re: [INTERFACES] jdbc examples Herouth Maoz <herouth@oumail.openu.ac.il>
1998-07-09 06:22 ` Re: [INTERFACES] jdbc examples Peter T Mount <peter@retep.org.uk>
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