Re: Re: JDBC and the hstore ? operator - no longer working with build 1211

From: Brad DeJong <Brad(dot)Dejong(at)infor(dot)com>
To: Dave Cramer <pg(at)fastcrypt(dot)com>, Thomas Kellerer <spam_eater(at)gmx(dot)net>
Cc: List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Re: JDBC and the hstore ? operator - no longer working with build 1211
Date: 2016-11-02 15:18:25
Message-ID: F8F0ED16CB59F247B7EFD0E1DB34BC1F5CB542BD@USALWEXMBX3.infor.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On 2 November 2016 at 06:03, Dave Cramer wrote:
> On 2 November 2016 at 03:56, Thomas Kellerer <spam_eater(at)gmx(dot)net<mailto:spam_eater(at)gmx(dot)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.

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Vladimir Sitnikov 2016-11-02 17:56:47 pgjdbc 9.4.1212 is released
Previous Message Thomas Kellerer 2016-11-02 11:21:59 Re: JDBC and the hstore ? operator - no longer working with build 1211