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 14:29:28
Message-ID: 2130909473.19475887.1453213768203.JavaMail.zimbra@redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Yes, you are right.

But in Fedora there is tooling where I can exclude dependency.

Even if we created maven profile we would have to patch source code somehow.

I think it's possible to do it way I proposed or rewrite ConnectionFactoryImpl class.

Pavel
----- Original Message -----
From: "Vladimir Sitnikov" <sitnikov(dot)vladimir(at)gmail(dot)com>
To: "Pavel Kajaba" <pkajaba(at)redhat(dot)com>
Cc: "Stephen Nelson" <stephen(at)eccostudio(dot)com>, "List" <pgsql-jdbc(at)postgresql(dot)org>, "Pavel Raiskup" <praiskup(at)redhat(dot)com>
Sent: Tuesday, January 19, 2016 1:29:34 PM
Subject: Re: [JDBC] [pgjdbc] Implement JDBC specs via pre-processor step (#435)

>What do you think about this approach?

As long as <dependency>...</depencency> is there, mvn would complain
on "missing dependency".
The only sane way of excluding dependency "on demand" is maven profiles.

Vladimir

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Pavel Kajaba 2016-01-19 14:31:25 Re: [pgjdbc] Implement JDBC specs via pre-processor step (#435)
Previous Message Amit Kapila 2016-01-19 13:33:41 Re: Re: [JDBC] 9.4-1207 behaves differently with server side prepared statements compared to 9.2-1102