Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 18162 invoked from network); 21 Nov 2005 09:39:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Nov 2005 09:39:42 -0000 Received: (qmail 37967 invoked by uid 500); 21 Nov 2005 09:39:39 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 37741 invoked by uid 500); 21 Nov 2005 09:39:37 -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: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 37731 invoked by uid 99); 21 Nov 2005 09:39:37 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Nov 2005 01:39:37 -0800 Received-SPF: pass (asf.osuosl.org: domain of francois.orsini@gmail.com designates 64.233.162.204 as permitted sender) Received: from [64.233.162.204] (HELO zproxy.gmail.com) (64.233.162.204) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Nov 2005 01:41:10 -0800 Received: by zproxy.gmail.com with SMTP id 18so682542nzp for ; Mon, 21 Nov 2005 01:39:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=RmkjISgFGbXGkC8sSqguXBoVNLq9Qc/TYwd3Q1uptc6wPkstnLiavqY05bWsGkQx399dhfvbHUZbzffvYMNVQpKcYgGN4ShE8iXp9+HOLaAIBi5MRruHfBzReIM0qYqadmUEaGCv9HdSL543vBnlsXZICBFiGd0QvGfOP5ZQGzw= Received: by 10.65.11.20 with SMTP id o20mr2647490qbi; Mon, 21 Nov 2005 01:39:16 -0800 (PST) Received: by 10.64.209.10 with HTTP; Mon, 21 Nov 2005 01:39:16 -0800 (PST) Message-ID: <7921d3e40511210139m13815525m1ef70feb8e974c01@mail.gmail.com> Date: Mon, 21 Nov 2005 01:39:16 -0800 From: Francois Orsini To: derby-dev@db.apache.org Subject: Re: How does an application get access to JDBC implementation classes In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9474_26066646.1132565956475" References: <437E7949.2070201@sun.com> <437E7E0C.5090900@sun.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_9474_26066646.1132565956475 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Yes the following below is supported... ClientDataSource ds =3D new ClientDataSource(); ds.setServerName("someHost"); ds.setDatabaseName("dbName"); ds.setUser("userName"); ds.setPassword("userPwd"); ds.setPortNumber(portNumt); Connection conn =3D ds.getConnection(); Statement stmt =3D conn.createStatement(); [...] and same for EmbeddedDataSource --francois ------=_Part_9474_26066646.1132565956475 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Yes the following below is supported...

ClientDataSource ds =3D new ClientDataSource();
ds.setServerName("someHost");
ds.setDatabaseName("dbName");
ds.setUser("userName");
ds.setPassword("userPwd");

ds.setPortNumber(portNumt);

Connection conn =3D ds.getConnection();

Statement stmt =3D conn.createStatement();

[...]

and same for EmbeddedDataSource

--francois
------=_Part_9474_26066646.1132565956475--