This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I created a javaDB database (on disk) and then deleted it. When I try to recreate the database I got an error "the database location already contains a file named...". (stopped db, deleted directory, started db, creating db works OK)
Reassigned to new owner.
Created attachment 136616 [details] proposed patch v1 Derby needs to be shutdown before the database file can be removed. The implemented method worked on unix systems, because they don't lock on the kernel level. Long story short: Just do as the derby developers say :-)
Applied as http://hg.netbeans.org/core-main/rev/02bb3c50062b. Thank you very much for the patch!
Integrated into 'main-silver', will be available in build *201307100049* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/02bb3c50062b User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #135937: Deleted javaDB database can't be recreated Patch by Matthias42