I have to say that really sucks.. They could've easily comeup with a system
function that would check if a db exists or not instead of the user doing
directory and file checks. But then, it is free, so I cann't complain much..


dmclean62 wrote:
> 
> A Derby database is a directory containing a fairly distinctive set of
> files. You could use file system operations to see if a directory by that
> name exists and then check to see if it has the right files.
> 
> Donald
> 
>  -------------- Original message ----------------------
> From: Teja <[EMAIL PROTECTED]>
>> 
>> How do I check if the database exists already? I know create=true in the
>> connection url creates if db doesn't exist and throws a SQLWarning if
>> exists
>> already, but is there a way to know for sure that a database exists
>> already
>> before connecting?
>> -- 
>> View this message in context: 
>> http://www.nabble.com/check-if-DB-exists-already--tf4245044.html#a12080193
>> Sent from the Apache Derby Users mailing list archive at Nabble.com.
>> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/check-if-DB-exists-already--tf4245044.html#a12080523
Sent from the Apache Derby Users mailing list archive at Nabble.com.

Reply via email to