Wh开发者_运维百科en 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
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.
Yes, they create a file on the filesystem - you don't have to take extra steps to ensure your data is persistent between sessions.
精彩评论