Return-Path: Delivered-To: apmail-db-ojb-dev-archive@www.apache.org Received: (qmail 16308 invoked from network); 19 Jun 2004 14:49:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 19 Jun 2004 14:49:16 -0000 Received: (qmail 71169 invoked by uid 500); 19 Jun 2004 14:49:17 -0000 Delivered-To: apmail-db-ojb-dev-archive@db.apache.org Received: (qmail 71125 invoked by uid 500); 19 Jun 2004 14:49:16 -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 71106 invoked by uid 500); 19 Jun 2004 14:49:16 -0000 Received: (qmail 71091 invoked by uid 99); 19 Jun 2004 14:49:16 -0000 Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.27.1) with SMTP; Sat, 19 Jun 2004 07:49:15 -0700 Received: (qmail 16281 invoked by uid 1797); 19 Jun 2004 14:49:12 -0000 Date: 19 Jun 2004 14:49:12 -0000 Message-ID: <20040619144912.16280.qmail@minotaur.apache.org> From: tomdz@apache.org To: db-ojb-cvs@apache.org Subject: cvs commit: db-ojb/profile postgresql.profile X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N tomdz 2004/06/19 07:49:12 Modified: profile postgresql.profile Log: Changed that Torque is now able to create the database for the unit tests Revision Changes Path 1.9 +9 -6 db-ojb/profile/postgresql.profile Index: postgresql.profile =================================================================== RCS file: /home/cvs/db-ojb/profile/postgresql.profile,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- postgresql.profile 5 Apr 2004 13:58:58 -0000 1.8 +++ postgresql.profile 19 Jun 2004 14:49:12 -0000 1.9 @@ -19,7 +19,7 @@ torque.testDatabaseJar = ${lib.repo}/postgres.jar torque.idMethod = idbroker -torque.defaultDatabase = OJB +torque.defaultDatabase = ojbtest # ------------------------------------------------------------------- # @@ -36,7 +36,8 @@ # ------------------------------------------------------------------- database = postgresql -database.manual.creation = true +# Set this to true if you want to create the database manually +database.manual.creation = false # ------------------------------------------------------------------- # @@ -78,17 +79,19 @@ # ------------------------------------------------------------------- dbmsName = PostgreSQL -jdbcLevel = 1.0 +jdbcLevel = 3.0 urlProtocol = jdbc urlSubprotocol = postgresql -urlDbalias = OJB +urlDbalias = ${project} databaseDriver = org.postgresql.Driver -databaseUser = oleg +databaseUser = ojb databasePassword = databaseHost = localhost databaseUrl = ${urlProtocol}:${urlSubprotocol}://${databaseHost}/${urlDbalias} -createDatabaseUrl = ${databaseUrl} +# For PostgreSQL we have to specify a specific database when we want to +# create a new database via JDBC +createDatabaseUrl = ${urlProtocol}:${urlSubprotocol}://${databaseHost}/template1 buildDatabaseUrl = ${databaseUrl} # Tells JDBC task that javaName attribute for the tables and columns --------------------------------------------------------------------- To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org For additional commands, e-mail: ojb-dev-help@db.apache.org