db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kurt Huwig <k.hu...@iku-ag.de>
Subject Re: Open Derby database in read-only mode
Date Fri, 13 Feb 2009 08:04:06 GMT
I guess your problem is that the file is still open and Windows OS - unlike 
real multi-user operating systems - does not allow to delete open files. You 
should read the documentation and the posts here about how to shutdown the 
database properly, so that the files are closed.

Am Freitag, 13. Februar 2009 01:28:29 schrieb Dave Kennedy:
> Env:
> NetBeans 6.5
> Apache Derby - 10.4.1.3
> TopLink, version: Oracle TopLink Essentials - 2.0.1
> Windows desktop application
> Java Swing
>
> Is it possible to open a database in read-only mode and not create a db.lck
> file?
>
> I am attempting to open a database and read the contents and then delete
> the database from within the app.
> But the db.lck file cannot be deleted until the app is exited.

-- 
Mit freundlichen Grüßen

Kurt Huwig (Vorstand)                     Telefon 0681 / 3 72 00 36 - 50
http://www.iku-ag.de/                     Telefax 0681 / 3 72 00 36 - 59

iKu Systemhaus AG, Altenkesseler Straße 17/Gebäude C1, 66115 Saarbrücken
Amtsgericht: Saarbrücken, HRB 13240
Vorstand: Kurt Huwig            Aufsichtsratsvorsitzender: Jan Bankstahl

GnuPG 1024D/99DD9468 64B1 0C5B 82BC E16E 8940  EB6D 4C32 F908 99DD 9468

Mime
View raw message