db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Dudziak <to...@first.fhg.de>
Subject Re: [VOTE] OJB 1.0 on Sunday, 19 June
Date Sat, 19 Jun 2004 13:21:29 GMT
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


Mime
View raw message