2

When using embedded java databases, can someone explain how the database persists data across sessions? Does it create a local file on the PC that is reloaded when the app connects to the database? Or would I need to explicitly dump/reload the contents on exist/restart?

thanks, Jeff

2 Answers 2

4

It is performed automatically. The database stored its information into the filesystem for you.

Here's more information: Java DB FAQ which is the most common embedded db.

Sign up to request clarification or add additional context in comments.

Comments

1

Yes, they create a file on the filesystem - you don't have to take extra steps to ensure your data is persistent between sessions.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.