Return-Path: Delivered-To: apmail-db-ojb-dev-archive@www.apache.org Received: (qmail 15816 invoked from network); 22 Jun 2004 03:23:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 22 Jun 2004 03:23:40 -0000 Received: (qmail 6298 invoked by uid 500); 22 Jun 2004 03:24:05 -0000 Delivered-To: apmail-db-ojb-dev-archive@db.apache.org Received: (qmail 6258 invoked by uid 500); 22 Jun 2004 03:24:04 -0000 Mailing-List: contact ojb-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "OJB Developers List" Reply-To: "OJB Developers List" Delivered-To: mailing list ojb-dev@db.apache.org Received: (qmail 6237 invoked by uid 99); 22 Jun 2004 03:24:04 -0000 Received: from [195.84.38.251] (HELO manta.alma.nu) (195.84.38.251) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 21 Jun 2004 20:24:04 -0700 Received: from [192.168.0.4] (unknown [80.64.176.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by manta.alma.nu (Postfix) with ESMTP id E4F7BABC111 for ; Tue, 22 Jun 2004 05:23:24 +0200 (CEST) Message-ID: <40D7A652.10203@curalia.se> Date: Tue, 22 Jun 2004 05:24:02 +0200 From: =?ISO-8859-1?Q?Martin_Kal=E9n?= User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616) X-Accept-Language: en-us, en MIME-Version: 1.0 To: OJB Developers List Subject: Re: [Fwd: Oracle9i platform does not work in managed environment] References: <40754183.7010304@apache.org> In-Reply-To: <40754183.7010304@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Rearranging original comments a bit for readability... Armin Waibel wrote: >> -------- Original Message -------- >> It looks like the current Oracle9i platform does not workin a managed >> environment (e.g. WebLogic). The problem >> occurs when the connection is intialized > > >> PlatformOracle9iImpl.initializeJdbcConnection(JdbcConnectionDescriptor jcd, >> Connection conn) > >> which tries to set up a statement cache. As WebLogic wraps the Oracle >> connection an exception is thrown >> saying you cannot set the statement cache size through a logical >> connection. > > can some Oracle guys comment this post from the user list? Don't have WebLogic at hand, but it seems resonable. I had a look at the Oracle-specific optimisations in the Oracle9i platform and they all throw exceptions if reflection lookups are successful but method invokation fail. (Oracle-specific statement caching, row prefetching etc) > How can we fix this? Think this platform class couldn't be used in > managed environments. By not throwing exceptions. This will be like saying "bummer; we were close to enabling platform-specific optimisations but failed at the finish line -- reverting to default standard JDBC behaviour" which is OK. When Scarab (or my ISP?) wakes up again ;-) I will file an issue+patch for this. Regards, Martin -- Martin Kal�n Curalia AB Web: http://www.curalia.se Orrspelsv�gen 2B Mail: info@curalia.se SE-182 79 Stocksund Tel: +46-8-410 064 40 --------------------------------------------------------------------- To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org For additional commands, e-mail: ojb-dev-help@db.apache.org