dogal acar wrote:
Hi all,

i am new to java derby and my problem is about deleting derby database directory. I am creating a new derby database and after it want delete it(programmaticly or manuel) but it gives access violation error and i can not delete it i am closing the database connetion and other database structures. How can i solve this problem ?

OPS : win xp
Derby : 10.1.2.1

What exactly does the error message say?
Does it mention the db.lck file?

Unless you are already doing it, it may help if you shut down the database first, by using ;shutdown=true in the connection URL, see
http://db.apache.org/derby/docs/10.1/devguide/tdevdvlp40464.html for details.


--
John


Reply via email to