persist « hsqldb « Java Database Q&A





1. In-memory Java database that I can persist (as a single huge blob of memory)    stackoverflow.com

I am looking for an in-memory relational (SQL) database for Java (something like HSQLDB), whose whole state I can serialise.

wholeDatabase.serialize(outputStream);
newCopyOftheDatabase.loadFrom(inputStream);
Or maybe the DB only uses a byte[] that I give it ...

2. HSQLDB & Ant - tables not persisting?    coderanch.com

I wasn't sure which forum to ask this question in, but this forum seemed to have more references to HSQLDB, so here I am. I have set included the hsqldb.jar in my lib and I have the following properties: When I run the ant sql target, ...