开发者

Java embedded database persistence

开发者 https://www.devze.com 2022-12-18 06:56 出处:网络
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 t

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号