Re: [pgjdbc] Implement JDBC specs via pre-processor step (#435)

From: Pavel Kajaba <pkajaba(at)redhat(dot)com>
To: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
Cc: Stephen Nelson <stephen(at)eccostudio(dot)com>, List <pgsql-jdbc(at)postgresql(dot)org>, Pavel Raiskup <praiskup(at)redhat(dot)com>
Subject: Re: [pgjdbc] Implement JDBC specs via pre-processor step (#435)
Date: 2016-01-19 11:53:24
Message-ID: 82353776.19327195.1453204404128.JavaMail.zimbra@redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

> I think maven profile can be added to exclude waffle from the build.

Maven profile would not help, because waffle is used in core/v3/ConnectionFactoryImpl.java class.

So basically if waffle was excluded it would not compile.

However I have tried to create patch [1], which uses Java reflection API to load different classes during runtime.

What do you think about this approach?

Pavel Kajaba.

[1] https://pkajaba.fedorapeople.org/0001-Disable-using-SSPI-under-Linux.patch

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2016-01-19 12:06:21 Re: [pgjdbc] Implement JDBC specs via pre-processor step (#435)
Previous Message Pavel Stehule 2016-01-19 04:49:30 Re: Re: [JDBC] 9.4-1207 behaves differently with server side prepared statements compared to 9.2-1102