Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id D26419FA639 for ; Fri, 5 Oct 2007 10:08:28 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 05848-08 for ; Fri, 5 Oct 2007 10:08:09 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from beaver.fastcrypt.com (beaver.fastcrypt.com [64.7.141.17]) by postgresql.org (Postfix) with ESMTP id 856BC9FA540 for ; Fri, 5 Oct 2007 10:08:25 -0300 (ADT) Received: from dave-cramers-computer-2.local (dcdsl.ebox.com [64.7.143.116]) by beaver.fastcrypt.com (Postfix) with ESMTP id 156311580519; Fri, 5 Oct 2007 09:13:59 -0400 (EDT) Message-ID: <47063748.20206@fastcrypt.com> Date: Fri, 05 Oct 2007 09:08:24 -0400 From: Dave Cramer Reply-To: pg@fastcrypt.com User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070807) MIME-Version: 1.0 To: Heikki Linnakangas CC: Kris Jurka , Till Toenges , pgsql-jdbc@postgresql.org Subject: Re: statement caching link on jdbc page References: <47015359.9000000@fastcrypt.com> <47026E3E.2010000@kyon.de> <4705B2EB.6020108@kyon.de> <47060371.6020502@enterprisedb.com> <47061F7E.4080901@fastcrypt.com> <470633F7.6030103@enterprisedb.com> In-Reply-To: <470633F7.6030103@enterprisedb.com> Content-Type: multipart/alternative; boundary="------------090905070201000809050209" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/57 X-Sequence-Number: 17629 This is a multi-part message in MIME format. --------------090905070201000809050209 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Heikki Linnakangas wrote: > Dave Cramer wrote: > >> No, it doesn't work with older JDK's. Here is the problem. The class >> file structures have changed with newer versions, and cannot be read by >> older JRE's >> >> You cannot compile a newer JDBC with an old compiler since the >> interfaces are not implemented ( among other things ) , and the newer >> jars cannot be run with older JRE's >> > > Could you use the JDK 1.6 compiler with "javac -target 1.5"? > > You have some control over the class compatibility, but not over the interface which is provided by the jdk library. It might be possible, not sure. Dave --------------090905070201000809050209 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Heikki Linnakangas wrote:
Dave Cramer wrote:
  
No, it doesn't work with older JDK's. Here is the problem. The class
file structures have changed with newer versions, and cannot be read by
older JRE's

You cannot compile a newer JDBC with an old compiler since the
interfaces are not implemented ( among other things ) , and the  newer
jars cannot be run with older JRE's
    

Could you use the JDK 1.6 compiler with "javac -target 1.5"?

  
You have some control over the class compatibility, but not over the interface which is provided by the jdk library.

It might be possible, not sure.

Dave

--------------090905070201000809050209--