提交 1699f548 authored 作者: Thomas Mueller's avatar Thomas Mueller

Documentation.

上级 375e5e52
...@@ -625,7 +625,8 @@ INSTEAD OF triggers are implicitly row based and behave like BEFORE triggers. ...@@ -625,7 +625,8 @@ INSTEAD OF triggers are implicitly row based and behave like BEFORE triggers.
Only the first such trigger is called. Such triggers on views are supported. Only the first such trigger is called. Such triggers on views are supported.
They can be used to make views updatable. They can be used to make views updatable.
A BEFORE SELECT trigger can be used to update a table on demand. A BEFORE SELECT trigger is fired just before the database engine tries to read from the table.
The trigger can be used to update a table on demand.
The trigger is called with both 'old' and 'new' set to null. The trigger is called with both 'old' and 'new' set to null.
The MERGE statement will call both INSERT and UPDATE triggers. The MERGE statement will call both INSERT and UPDATE triggers.
......
...@@ -1558,8 +1558,7 @@ This database has the following known limitations: ...@@ -1558,8 +1558,7 @@ This database has the following known limitations:
<ul> <ul>
<li>Database file size limit: <li>Database file size limit:
4 TB (using the default page size of 2 KB) or higher (when using a larger page size). 4 TB (using the default page size of 2 KB) or higher (when using a larger page size).
When using the feature "h2.lobInDatabase" then this limit is including CLOB and BLOB data, This limit is including CLOB and BLOB data.
otherwise this limit is excluding CLOB and BLOB data, and every CLOB or BLOB can be up to 256 GB.
</li><li>The maximum file size for FAT or FAT32 file systems is 4 GB. </li><li>The maximum file size for FAT or FAT32 file systems is 4 GB.
That means when using FAT or FAT32, the limit is 4 GB for the data. This is the limitation of the file system. That means when using FAT or FAT32, the limit is 4 GB for the data. This is the limitation of the file system.
The database does provide a workaround for this problem, it is to use the file name prefix <code>split:</code>. The database does provide a workaround for this problem, it is to use the file name prefix <code>split:</code>.
......
...@@ -18,7 +18,8 @@ Change Log ...@@ -18,7 +18,8 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>- <ul><li>Issue 378: when using views, the wrong values were bound to a parameter in some cases.
</li><li>Terrence Huang has translated the error messages to Chinese. Thanks a lot!
</li></ul> </li></ul>
<h2>Version 1.3.166 (2012-04-08)</h2> <h2>Version 1.3.166 (2012-04-08)</h2>
......
...@@ -1421,5 +1421,9 @@ The following attributes and operations are supported: ...@@ -1421,5 +1421,9 @@ The following attributes and operations are supported:
</li><li><code>listSettings</code>: list the database settings. </li><li><code>listSettings</code>: list the database settings.
</li><li><code>listSessions</code>: list the open sessions, including currently executing statement (if any) and locked tables (if any). </li><li><code>listSessions</code>: list the open sessions, including currently executing statement (if any) and locked tables (if any).
</li></ul> </li></ul>
<p>
To enable JMX, you may need to set the system properties <code>com.sun.management.jmxremote</code> and
<code>com.sun.management.jmxremote.port</code> as required by the JVM.
</p>
<!-- [close] { --></div></td></tr></table><!-- } --><!-- analytics --></body></html> <!-- [close] { --></div></td></tr></table><!-- } --><!-- analytics --></body></html>
...@@ -184,7 +184,7 @@ public class SysProperties { ...@@ -184,7 +184,7 @@ public class SysProperties {
public static final int LOB_FILES_PER_DIRECTORY = Utils.getProperty("h2.lobFilesPerDirectory", 256); public static final int LOB_FILES_PER_DIRECTORY = Utils.getProperty("h2.lobFilesPerDirectory", 256);
/** /**
* System property <code>h2.lobInDatabase</code> (default: false).<br /> * System property <code>h2.lobInDatabase</code> (default: true).<br />
* Store LOB files in the database. * Store LOB files in the database.
*/ */
public static final boolean LOB_IN_DATABASE = Utils.getProperty("h2.lobInDatabase", Constants.VERSION_MINOR >= 3); public static final boolean LOB_IN_DATABASE = Utils.getProperty("h2.lobInDatabase", Constants.VERSION_MINOR >= 3);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论