Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UrHPp-0001r2-0w for pgsql-jdbc@arkaria.postgresql.org; Tue, 25 Jun 2013 00:47:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1UrHPo-0002su-9N for pgsql-jdbc@arkaria.postgresql.org; Tue, 25 Jun 2013 00:47:24 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UrHPn-0002sn-An for pgsql-jdbc@postgresql.org; Tue, 25 Jun 2013 00:47:23 +0000 Received: from hogranch.com ([75.101.82.47]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UrHPj-0007gB-0g for pgsql-jdbc@postgresql.org; Tue, 25 Jun 2013 00:47:22 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id r5P0lAl13458 for ; Mon, 24 Jun 2013 17:47:11 -0700 Message-ID: <51C8E88A.4060803@hogranch.com> Date: Mon, 24 Jun 2013 17:47:06 -0700 From: John R Pierce User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Re: JDBC 4 Compliance References: <24064BE7-766E-4B4A-923D-C22771D06D35@me.com> <51C72336.4090806@ttc-cmc.net> <51C8890F.2040403@polarislabs.com> <1005C726-9CB7-4E6E-95B0-A899BEC42D4D@me.com> <1372108541987-5760763.post@n5.nabble.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Pg-Spam-Score: -0.3 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org On 6/24/2013 4:18 PM, Kevin Wooten wrote: > Second, porting my implementation back to Java 5/6 and/or PostgreSQL > servers prior to 9.2. The current driver has lots of special case > code for servers and now JDK’s that have been EOL’d. My project > implementation currently has none, it runs on JDK 7/JDBC 4.1 and > Postgres >= 9.2. I believe there is a more elegant way to handle > these cases going forward than the option used in the mainstream > project of abstract/concrete classes for each JDBC version. I think > JDBC differences should be handled with the maven pre-processor plugin > to conditionally compile for each JDBC. Server differences can still > use special case code and/or polymorphic classes to address the > problem/feature at hand. speaking as a user and system administrator, I would NOT want to need to use different JAR files for each {jvm,postgres} version. that would be a nightmare. we have a LOT of systems in our manufacturing operations that are running older versions of {os, postgres, jvm} for various reasons, not the least of which is upgrades often break things in very non-obvious ways. -- john r pierce 37N 122W somewhere on the middle of the left coast -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc