Return-Path: Delivered-To: apmail-db-ddlutils-user-archive@www.apache.org Received: (qmail 11303 invoked from network); 16 Feb 2006 11:10:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Feb 2006 11:10:45 -0000 Received: (qmail 39919 invoked by uid 500); 16 Feb 2006 11:10:45 -0000 Delivered-To: apmail-db-ddlutils-user-archive@db.apache.org Received: (qmail 39901 invoked by uid 500); 16 Feb 2006 11:10:43 -0000 Mailing-List: contact ddlutils-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ddlutils-user@db.apache.org Delivered-To: mailing list ddlutils-user@db.apache.org Received: (qmail 39882 invoked by uid 99); 16 Feb 2006 11:10:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2006 03:10:42 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of tomdzk@gmail.com designates 66.249.92.196 as permitted sender) Received: from [66.249.92.196] (HELO uproxy.gmail.com) (66.249.92.196) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2006 03:10:42 -0800 Received: by uproxy.gmail.com with SMTP id m2so105791uge for ; Thu, 16 Feb 2006 03:10:21 -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:content-transfer-encoding:content-disposition:references; b=GzAva6W+BOTxJiSeZTvYlNx5smhq7zYGsNaTpmrYujAGPZJPCs4zHKbKNU5BRdZMusD86+Y9CvZbaygL3EJCcGGZez/aSl8aCObZI4pZ7MOtkc6sGumbMXo4tPwKCSLwrOiwSnbIlxEZd3dL5vm71TcjVOkGwysCSOG/rl4K8Dg= Received: by 10.67.23.6 with SMTP id a6mr590019ugj; Thu, 16 Feb 2006 03:10:17 -0800 (PST) Received: by 10.67.30.2 with HTTP; Thu, 16 Feb 2006 03:10:17 -0800 (PST) Message-ID: <224f32340602160310k23a86992g466a75a017e0e16a@mail.gmail.com> Date: Thu, 16 Feb 2006 12:10:17 +0100 From: Thomas Dudziak To: ddlutils-user@db.apache.org Subject: Re: NullPointerException creating a new platform instance using h sqld b In-Reply-To: <8A182A1EE014E54B935A205C81FEF37A3A43CB@edi004ex.edi.intra.admin.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <8A182A1EE014E54B935A205C81FEF37A3A43CB@edi004ex.edi.intra.admin.ch> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 2/16/06, Christian.Eugster@kost.admin.ch wrote: > How do I do that (it must be something like a connection pool!?) Not necessarily. It should suffice to create an instance of BasicDataSource (http://jakarta.apache.org/commons/dbcp/apidocs/org/apache/commons/dbcp/Bas= icDataSource.html) and set the appropriate parameters (driver name, jdbc url, username, password). Tom