Return-Path: Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: (qmail 65982 invoked from network); 4 Apr 2008 20:37:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Apr 2008 20:37:58 -0000 Received: (qmail 19690 invoked by uid 500); 4 Apr 2008 20:37:58 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 19448 invoked by uid 500); 4 Apr 2008 20:37:57 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 19434 invoked by uid 99); 4 Apr 2008 20:37:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Apr 2008 13:37:57 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.78.103.231] (HELO vorsha.objectstyle.org) (208.78.103.231) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 04 Apr 2008 20:37:16 +0000 Received: (qmail 28299 invoked from network); 4 Apr 2008 20:37:25 -0000 Received: from unknown (HELO ?IPv6:::1?) (127.0.0.1) by localhost with SMTP; 4 Apr 2008 20:37:25 -0000 Message-Id: <83FF9199-B97F-40D5-B5C1-C1B24F3DA007@objectstyle.org> From: Andrus Adamchik To: user@cayenne.apache.org In-Reply-To: <8F798BFDA851B943B3A1B2510E92878507B81838@airmail.wirelessworld.airvananet.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: Driver+ClassLoader issue Date: Fri, 4 Apr 2008 23:37:24 +0300 References: <8F798BFDA851B943B3A1B2510E92878507B81838@airmail.wirelessworld.airvananet.com> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org Hi Scott, you may submit a patch via Jira. Thanks, Andrus On Apr 4, 2008, at 7:58 PM, Scott Anderson wrote: > I am using a special wrapper around my Driver so that I don't need to > have the jar on the classpath. This trick clashes with the > DriverDataSource class. Instead of failing immediately if the class > doesn't exist, it might be prudent to check with the > java.sql.DriverManager first - or, heck, even go there first - after > all, that is the standard way of obtaining a Driver. > > > > Regards, > > Scott >