Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 923FF635FE2 for ; Fri, 25 Sep 2009 13:06:45 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 49922-07 for ; Fri, 25 Sep 2009 16:06:34 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-iw0-f175.google.com (mail-iw0-f175.google.com [209.85.223.175]) by mail.postgresql.org (Postfix) with ESMTP id 7F0BA633F8D for ; Fri, 25 Sep 2009 13:06:34 -0300 (ADT) Received: by iwn5 with SMTP id 5so1577180iwn.15 for ; Fri, 25 Sep 2009 09:06:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.61.37 with SMTP id j37mr23131wfa.35.1253894793084; Fri, 25 Sep 2009 09:06:33 -0700 (PDT) In-Reply-To: <1253894439.17879.86.camel@localhost.localdomain> References: <1253724335.31090.53.camel@localhost.localdomain> <1253891739.17879.73.camel@localhost.localdomain> <895e58dd0909250840q2ede66cbyd83d30064364587d@mail.gmail.com> <1253894439.17879.86.camel@localhost.localdomain> Date: Fri, 25 Sep 2009 09:06:33 -0700 Message-ID: <895e58dd0909250906s6bd3247cg2b95dea2da507e5b@mail.gmail.com> Subject: Re: JDBC 4 support From: Maciek Sakrejda To: Steve Ebersole Cc: pgsql-jdbc@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.475 tagged_above=-10 required=5 tests=AWL=0.124, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 200909/43 X-Sequence-Number: 19990 Right, so going back to Kris' original question--what jdbc4 features do you need specifically? I know just enough about Hibernate to be dangerous, so excuse the stupid question, but does Hibernate actually expose a given driver's jdbc API to users (i.e., you need to provide the full feature set)? On Fri, Sep 25, 2009 at 9:00 AM, Steve Ebersole wrote= : > That's true as long as your code does not bind to any new JDBC4 > methods... > > On Fri, 2009-09-25 at 08:40 -0700, Maciek Sakrejda wrote: >> I think if your main concern is running the same jdbc3g code under >> jdbc4, that's not a problem--we've been using the driver compiled as >> both jdbc3g and jdbc4 for a long time and haven't had a single issue. >> I believe it's the new jdbc4 features that are stubbed out. >> >> On Fri, Sep 25, 2009 at 8:15 AM, Steve Ebersole wr= ote: >> > Thanks for the reply. =A0Its more of a general question. >> > >> > I am looking at adding JDBC4 (JDK1.6) support to Hibernate. =A0So the >> > question came up about whether to drop JDBC3 support or whether to >> > support both JDBC3 and JDBC4 simultaneously. =A0Moving to JDBC4 >> > exclusively is largely a function of how well we thought JDBC4/JDK1.6 = is >> > supported both in the various environments as well by the various JDBC >> > drivers. >> > >> > Sun's JDK 1.5 is nearing the end of its EOL transition and set to reac= h >> > ESOL Oct 31. =A0So in the ideal world (since the release I am targetin= g >> > here is November) we would simply drop support for it... >> > >> > >> > On Fri, 2009-09-25 at 10:07 -0400, Kris Jurka wrote: >> >> >> >> On Wed, 23 Sep 2009, Steve Ebersole wrote: >> >> >> >> > The download page[1] still lists JDBC 4 support as "limited" saying= that >> >> > "the majority of new methods are stubbed out". =A0Is that really st= ill the >> >> > case? =A0How far off is complete JDBC 4 support? >> >> > >> >> >> >> Tough to say without going through each JDBC 4 feature. =A0The note y= ou >> >> mention is certainly old, but there are still significant JDBC4 >> >> requirements that haven't been implemented (Wrapper support, specific >> >> exceptions, ...). >> >> >> >> Is there anything in particular that you're interested in? >> >> >> >> Kris Jurka >> > -- >> > Steve Ebersole >> > Hibernate.org >> > >> > >> > -- >> > Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) >> > To make changes to your subscription: >> > http://www.postgresql.org/mailpref/pgsql-jdbc >> > >> >> >> > -- > Steve Ebersole > Hibernate.org > > --=20 Maciek Sakrejda | Software Engineer | Truviso 1065 E. Hillsdale Blvd., Suite 230 Foster City, CA 94404 (650) 242-3500 Main (650) 242-3516 T (510) 717-5398 M (650) 242-3501 F msakrejda@truviso.com www.truviso.com