db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kilian Evang <doppelpun...@texttheater.de>
Subject DB in temporary directory
Date Sun, 07 Jun 2009 00:36:55 GMT

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 +

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?


View raw message