From: Igal @ Lucee.org <igal@lucee.org>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Migrating from Sql Server to PostgreSQL - postgres drivers
Date: Wed, 13 Dec 2017 14:23:06 -0800
Message-ID: <a331a9b8-fcf2-6936-bf31-d16ab407958f@lucee.org> (raw)
In-Reply-To: <d2ffd96473dcf0e16c96642933aa1302@lawinegevaar.nl>
References: <1EE0CF2A331C5848B726E0C2C8B57202219067C6@UK2P-ERFMMBX10.ERF.thomson.com>
<CAFQ0bSW=vgUumGS+L-UBXC1+oX+MFv7TKOqQ7giMHOKV-ooGsA@mail.gmail.com>
<d2ffd96473dcf0e16c96642933aa1302@lawinegevaar.nl>
On 12/13/2017 11:23 AM, Mark Rotteveel wrote:
> On 2017-12-13 19:03, Zahid Iqbal wrote:
>> You need to place the driver under JDK/JRE-HOME/ext/lib path (the MTK
>> 51 contains classpath reference for an old version of PG JDBC driver)
>> so that JVM picks the driver in default classpath (alternatively you
>> can place PG JDBC driver ver 9.4-1208 under MTK lib path).
>
> JDBC drivers don't belong in lib/ext, and the lib/ext extension
> mechanism has been deprecated in Java 8 and removed in Java 9.
You can put the JAR file of the driver anywhere on the classpath. I'm
not familiar with the MTK, but if MTK has a lib directory then that
sounds like the right place to go.
Also, you can probably use a newer driver from
https://jdbc.postgresql.org/download.html -- there have been quite a few
changes since the aforementioned version.
Igal Sapir
Lucee Core Developer
Lucee.org <http://lucee.org/;
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: igal@lucee.org
Subject: Re: Migrating from Sql Server to PostgreSQL - postgres drivers
In-Reply-To: <a331a9b8-fcf2-6936-bf31-d16ab407958f@lucee.org>
References: <1EE0CF2A331C5848B726E0C2C8B57202219067C6@UK2P-ERFMMBX10.ERF.thomson.com> <CAFQ0bSW=vgUumGS+L-UBXC1+oX+MFv7TKOqQ7giMHOKV-ooGsA@mail.gmail.com> <d2ffd96473dcf0e16c96642933aa1302@lawinegevaar.nl> <a331a9b8-fcf2-6936-bf31-d16ab407958f@lucee.org>
* 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