Ondra Žižka
Ondra Žižka

Reputation: 46796

HSQLDB: Easy way to have all created files deleted after closing connection?

I have an app/tool which reads from a CSV file and writes to another, processing it using HSQLDB.

I want to have the CSV file as the only output, and the database files should disappear after the process finishes.

Is there some systemic way to leave only the CSV file? Ideally, I'd like some option which would allow HSQLDB to write CSV file while using in-memory storage.

Upvotes: 0

Views: 300

Answers (1)

fredt
fredt

Reputation: 24352

HSQLDB never deletes its own files. You can reduce the number of files by using

SET FILES LOG FALSE

Upvotes: 1

Related Questions