Ask HN: Java – looking for a persisten and embedded DB

2 points by shorty_ ↗ HN
Hi Guys,

i want to create a Java app and looking for a suitable DB.

The requirements are: - user must be able to run the software offline - user should not have to install any DB-Software (i.e. mySQL server)

so the DB should be embedded in my Java software and should create any filed to save the data.

Thank you very much in advance!

4 comments

[ 3.6 ms ] story [ 26.7 ms ] thread
thank you both, exactly what i need. i thought h2 is not persistent, but as i see now, i can use it as a persistent DB too.

Thx!

If you don't need full SQL then you can use embedded key-value stores: - RocksDB - MapDB