Return-Path: Delivered-To: apmail-db-ojb-dev-archive@www.apache.org Received: (qmail 83334 invoked from network); 19 Jun 2004 13:25:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 19 Jun 2004 13:25:33 -0000 Received: (qmail 82093 invoked by uid 500); 19 Jun 2004 13:25:33 -0000 Delivered-To: apmail-db-ojb-dev-archive@db.apache.org Received: (qmail 82037 invoked by uid 500); 19 Jun 2004 13:25:33 -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 82022 invoked by uid 99); 19 Jun 2004 13:25:32 -0000 Received: from [66.199.152.34] (HELO kgb07.kgbinternet.com) (66.199.152.34) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sat, 19 Jun 2004 06:25:32 -0700 Received: from [192.168.1.100] (pool-138-88-29-3.res.east.verizon.net [138.88.29.3]) (authenticated bits=0) by kgb07.kgbinternet.com (8.12.8/8.12.8) with ESMTP id i5JDPRcF010956 for ; Sat, 19 Jun 2004 07:25:28 -0600 User-Agent: Microsoft-Entourage/11.0.0.040405 Date: Sat, 19 Jun 2004 09:25:46 -0400 Subject: Re: [VOTE] OJB 1.0 on Sunday, 19 June From: "Robert S. Sfeir" To: OJB Developers List Message-ID: In-Reply-To: <40D43DD9.4020606@first.fhg.de> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N It doesn't Thomas. This is what I just tried too, it's failing to create the DB. If I create the DB manually it's OK. If I set the DB alias to blank so the end of the JDBC URL is / it doesn't work either. The user I use has permission to create DBs and users. I've tried it with the postgres user and robert (which has perms to everything). Seems the failure I am getting right now is at junit-no-compile-no-prepare. Something is missing, I'm looking for it but ant is not being real helpful right now. R On 6/19/04 9:21 AM, "Thomas Dudziak" wrote: > Brian McCallister wrote: >> You must create the database and user ahead of time when testing with >> PostgreSQL. > > Mhm, you shouldn't have to. PostgreSQL allows to create a database via > jdbc, but the url is different. I believe, for PostgreSQL you have to > omit the databasename (so that the dbAlias ends with a slash). > For MySQL for instance, you use the name of an existing database (e.g. > the name of the user database) which is then ignored by the jdbc driver > for the CREATE DATABASE command. > So it should work if you specify a different createDatabaseUrl in the > postgresql.profile file. > > Tom > > --------------------------------------------------------------------- > To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org > For additional commands, e-mail: ojb-dev-help@db.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org For additional commands, e-mail: ojb-dev-help@db.apache.org