Question

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

Was it helpful?

Solution

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.

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top