top | item 17959710

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

2 points| shorty_ | 7 years ago

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

order

jermo|7 years ago

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

shorty_|7 years ago

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!