db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kathey Marsden <kmarsdende...@sbcglobal.net>
Subject Re: check if DB exists already?
Date Thu, 09 Aug 2007 22:02:11 GMT
Teja wrote:
> If the database doesn't exist, I need to initalize it, create some tables and
> stuff... What should I do instead?
You could try to connect without create=true, if you get an SQLState 
XJ004 no database is there.

ij> connect 'jdbc:derby:mydb';
ERROR XJ004: Database 'mydb' not found.


View raw message