Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 61216 invoked from network); 24 Aug 2005 06:18:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Aug 2005 06:18:44 -0000 Received: (qmail 61141 invoked by uid 500); 24 Aug 2005 06:18:43 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 61109 invoked by uid 500); 24 Aug 2005 06:18:42 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 61096 invoked by uid 99); 24 Aug 2005 06:18:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2005 23:18:42 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [193.15.214.189] (HELO scancoin.se) (193.15.214.189) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2005 23:18:59 -0700 From: "Peter Neubauer" X-Mailer: Advox Omnigate version 6.30, SerialNo=601327, Domain=scancoin.se, Licenses=250 X-Priority: 3 (Normal) Message-Id: <57225B99BCBEFB4CA1E00E323596972D3B5EF6@amanda.ad.local> Date: Wed, 24 Aug 2005 08:18:32 +0200 To: derby-dev@db.apache.org Subject: =?Iso-8859-1?Q?SV:_Driver30_where_is_it_used=3F?= Message-ID: <57225B99BCBEFB4CA1E00E323596972D3B5EF6@amanda.ad.local> X-MS-TNEF-Correlator: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Dan, Thanks for the fast reply, > Applications should not acceess the Driver20 or Driver30 classes > directly, the public api is EmbeddedDriver and DriverManager (e.g. > DriverManager.getConnection). > = > Driver20 and Driver30 do not handle the network URL, only the = > embedded, > thus they are required in derby.jar. I understand that, but it seems that "jdbc:derby://localhost:9001/journal= db;create=3Dtrue" is returning the Driver30 for client applications that = have derby.jar in their classloader. I'm not sure of the specification bu= t maybe the problem is that from the specification POV the embedded URL s= yntax "jdbc:derby:journaldb;create=3Dtrue" and the above new network clie= nt syntax are the same? = In that case there is a problem that might be surface not only for me, si= nce it seems that from the JDBC specification, the first driver accepting= a given connection URL has to be returned to the asking client. Not sure this makes sense, just want to stress the point that http://www.= solarmetric.com/Support/Newsgroups/news/article.php?id_article=3D%3Cde5ek= 5%24ecp%241%40solarmetric.netmar.com%3E&grp_id=3D1 should not be able to = happen since I used the network URL and you are saying the Driver30 is on= ly handling embedded URLs? /peter