News for hackers. Stuff that matters.

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

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 | 2 points | on HN )
Re:Ask HN: Java – looking for a persisten and embedded DB by jermo on Friday September 14, 2018 @07:06AM (#17986259)
If you don't need full SQL then you can use embedded key-value stores: - RocksDB - MapDB
Re:Ask HN: Java – looking for a persisten and embedded DB by dnomad on Tuesday September 11, 2018 @10:55AM (#17960268)
Re:Ask HN: Java – looking for a persisten and embedded DB by mtmail on Tuesday September 11, 2018 @10:12AM (#17959840)
Re:Ask HN: Java – looking for a persisten and embedded DB by shorty_ on Tuesday September 11, 2018 @11:24AM (#17960557)
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!