Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 55745 invoked from network); 13 Sep 2010 20:40:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Sep 2010 20:40:59 -0000 Received: (qmail 71952 invoked by uid 500); 13 Sep 2010 20:40:59 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 71869 invoked by uid 500); 13 Sep 2010 20:40:58 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 71861 invoked by uid 99); 13 Sep 2010 20:40:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 20:40:58 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mtylenda@o2.pl designates 193.17.41.11 as permitted sender) Received: from [193.17.41.11] (HELO mailout1.go2.pl) (193.17.41.11) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 20:40:50 +0000 Received: from mailout1.go2.pl (unknown [10.0.0.104]) by mailout1.go2.pl (Postfix) with ESMTP id 26B0230004 for ; Mon, 13 Sep 2010 22:40:30 +0200 (CEST) Received: from o2.pl (unknown [10.0.0.41]) by mailout1.go2.pl (Postfix) with SMTP for ; Mon, 13 Sep 2010 22:40:30 +0200 (CEST) Subject: =?UTF-8?Q?Re:_Commons_DBCP_-_upgrade_to_1.4=3F?= From: =?UTF-8?Q?Mi=C5=82osz_Tylenda?= To: dev@openjpa.apache.org In-Reply-To: <4C8E241B.4020102@apache.org> References: <3be4168c.6ea473ea.4c8c8eb9.cfb0e@o2.pl> <4C8E241B.4020102@apache.org> Mime-Version: 1.0 Message-ID: <6eb4c6ea.2bcb3e6f.4c8e8c3d.db95@o2.pl> Date: Mon, 13 Sep 2010 22:40:29 +0200 X-Originator: 95.160.127.138 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi=20Donald, Yes,=20I=20am=20asking=20about=20trunk=20only. If=20we=20stick=20with=20commons-dbcp-1.2.2: +=20Users=20can=20run=20openjpa-all=20and=20use=20connection=20pooling=20= out-of-the-box=20on=20JDK5=20and=20JDK6. -=20The=20XML=20test=20case=20will=20fail=20on=20Oracle,=20actually=20it=20= is=20worse=20as=20it=20hangs=20up=20the=20test=20suite=20(we=20do=20not=20= perform=20rollback=20on=20java.lang.Error?) -=20Users=20who=20want=20to=20use=20JDBC=204=20calls=20in=20their=20apps=20= along=20with=20openjpa-all=20and=20connection=20pooling=20will=20fail,=20= they=20need=20to=20upgrade=20dbcp. If=20we=20upgrade=20to=20commons-dbcp-1.4: +=20Users=20can=20use=20JDBC=204=20along=20with=20openjpa-all=20and=20con= nection=20pooling=20out-of-the-box=20on=20JDK6. +=20No=20test=20suite=20problem. -=20Users=20can't=20run=20openjpa-all=20and=20use=20connection=20pooling=20= out-of-the-box=20on=20JDK5,=20need=20to=20downgrade=20dbcp=20themselves. The=20upgrade=20is=20debatable.=20Since=20in=20the=20other=20thread=20we=20= voted=20to=20drop=20JDK5=20support=20in=20trunk=20and=20the=20move=20to=20= JDBC=204=20is=20likely=20to=20happen=20sooner=20or=20later=20I=20am=20in=20= favor=20of=20doing=20the=20upgrade. BTW,=20if=20commons-dbcp-1.4=20jar=20was=20not=20compiled=20into=20JDK6=20= class=20file=20format,=20it=20could=20work=20with=20JDK5=20too.=20I=20was= =20running=20JDBC=204=20drivers=20in=20JDK5=20with=20success,=20the=20sam= e=20looks=20possible=20with=20connection=20pooling/delegation. Cheers, Milosz Dnia=2013=20wrze=C5=9Bnia=202010=2015:16=20Donald=20Woods=20=20napisa=C5=82(a): >=20I=20assume=20you're=20asking=20about=20trunk?=20=20The=20only=20conce= rn,=20is >=20commons-dbcp-1.4=20is=20ONLY=20supported=20on=20JDK6=20and=20later,=20= while=20the=20trunk >=20code=20can=20still=20run=20on=20JDK5=20(with=20the=20exception=20of=20= a=20few=20JPA2=20features.) >=20 >=20It=20looked=20like=20we=20had=20enough=20support=20in=20another=20thr= ead=20to=20drop=20JDK5 >=20support=20in=20trunk,=20but=20everyone=20needs=20to=20understand=20th= e=20JDK6=20dependency >=20and=20that=20our=20openjpa-all=20JAR=20will=20then=20only=20work=20on= =20JDK6+.... >=20 >=20-Donald >=20 >=20 >=20On=209/12/10=204:26=20AM,=20Mi=C5=82osz=20Tylenda=20wrote: >=20>=20Hi=20All, >=20>=20 >=20>=20We=20use=20commons-dbcp=201.2.2=20which=20implements=20JDBC=203=20= only.=20I=20am=20hit=20by=20this=20in=20OPENJPA-1691=20-=20this=20would=20= be=20the=20first=20JDBC=204=20use=20in=20OpenJPA=20-=20and=20would=20try=20= to=20upgrade=20commons-dbcp=20to=201.4=20which=20implements=20JDBC=204=20= [1].=20Does=20anyone=20see=20obstacles? >=20>=20 >=20>=20Regards, >=20>=20Milosz >=20>=20 >=20>=20[1]=20http://commons.apache.org/dbcp/changes-report.html >=20>=20 >=20>=20 >=20