Hi,
I'm trying to create an application that uses a temporary database for
storing internal data. No data needs to preserved across run-times.
Here's what I'm currently doing to create a temporary database:
------------------------------------------------------------------------
connection = DriverManager.getConnection("jdbc:derby:" + tmpFileName +
";create=true");
------------------------------------------------------------------------
This leads to the creation of a directory in the present working
directory. I would rather like the file put into the system's temp
directory, and auto-delete it on exit. How can I do this?
Thanks
Kilian