From: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> |
---|---|
To: | Poul Kristensen <bcc5226(at)gmail(dot)com> |
Cc: | Jorge Solórzano <jorsol(at)gmail(dot)com>, pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: Postgresql jdbc driver for PG version 9.5 |
Date: | 2018-09-10 07:39:51 |
Message-ID: | f8a60d9c7e71951ea4343343ee573cc5d7156830.camel@cybertec.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-jdbc |
Poul Kristensen wrote:
> Hi and thank you for responding but I have to put a class as db.driver value into String driver and
> then loaded this way Class.forName(driver);
> It works with the oracle driver.
> I am using Postgresql JDBC Driver 42.2.25 and Driver.class eg:_ db.driver=Driver.class
> but is rejected as not executable. It should be very simple. Does anyone use the Driver.class?
I do it all the time, and it works just fine.
Just use "org.postgresql.Driver" as the driver class name and make
sure the JAR file is on your class path.
Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com
From | Date | Subject | |
---|---|---|---|
Next Message | Celeste Mavoula | 2018-09-10 07:51:08 | How to install Postgresql on Windows 10 |
Previous Message | Mark Kirkwood | 2018-09-10 05:28:53 | Re: Schema's vs Single Database with prefix on tables |
From | Date | Subject | |
---|---|---|---|
Next Message | Jammie | 2018-09-12 18:46:07 | postgresql Logical Replication Stream fails with Connection/Socket errors consistently |
Previous Message | Poul Kristensen | 2018-09-09 20:28:58 | Re: Postgresql jdbc driver for PG version 9.5 |