提交 140bda27 authored 作者: Thomas Mueller's avatar Thomas Mueller

The shutdown hook is (re-) enabled by default even for H2 version 1.3.x.

上级 9bd64be0
...@@ -69,7 +69,7 @@ public class DbSettings extends SettingsBase { ...@@ -69,7 +69,7 @@ public class DbSettings extends SettingsBase {
* Close the database when the virtual machine exits normally, using a * Close the database when the virtual machine exits normally, using a
* shutdown hook. * shutdown hook.
*/ */
public final boolean dbCloseOnExit = get("DB_CLOSE_ON_EXIT", Constants.VERSION_MINOR < 3); public final boolean dbCloseOnExit = get("DB_CLOSE_ON_EXIT", true);
/** /**
* Database setting <code>DEFAULT_ESCAPE</code> (default: \).<br /> * Database setting <code>DEFAULT_ESCAPE</code> (default: \).<br />
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论