Re: Re: JDBC and the hstore ? operator - no longer workingwith build 1211 - Mailing list pgsql-jdbc

From Brad DeJong
Subject Re: Re: JDBC and the hstore ? operator - no longer workingwith build 1211
Date
Msg-id F8F0ED16CB59F247B7EFD0E1DB34BC1F5CB542BD@USALWEXMBX3.infor.com
Whole thread Raw
In response to Re: Re: JDBC and the hstore ? operator - no longer working with build 1211  (Dave Cramer <pg@fastcrypt.com>)
List pgsql-jdbc

On 2 November 2016 at 06:03, Dave Cramer wrote:

> On 2 November 2016 at 03:56, Thomas Kellerer <spam_eater@gmx.net> wrote:

>> Jorge Solórzano schrieb am 01.11.2016 um 23:47:
>>>>     But that JAR file is missing the META-INF/services directory.
>>>>     I don't know if that is due to it being a snapshot or if that is a general problem with the build system.
>>>
>>> Thomas, can you please check the latest 9.4.1212-SNAPSHOT? (postgresql-9.4.1212-20161101.224154-17.jar)
>>
>> Looks good.
>>
>> I don't need Class.forName() any more with that version.

> I don't believe that has been required for quite some time ?

 

The implication is that he had to add a call to Class.forName() in order to test the snapshot jar where the META-INF/services directory was missing. Now that the META-INF/services/java.sql.Driver file is back, the service provider framework knows how to load the driver and so he does not need to call Class.forName() anymore.

pgsql-jdbc by date:

Previous
From: Vladimir Sitnikov
Date:
Subject: pgjdbc 9.4.1212 is released
Next
From: Vladimir Sitnikov
Date:
Subject: pgjdbc 9.4.1212 is released