提交 cca61783 authored 作者: Thomas Mueller's avatar Thomas Mueller

Documentation.

上级 927d1aa4
......@@ -34,13 +34,9 @@ Change Log
</li><li>There is a problem when opening a database file in a timezone that has different
daylight saving rules: the time part of dates where the daylight saving doesn't match
will differ. This is not a problem within regions that use the same rules (such as, within
USA, or within Europe), even if the timezone itself is different. As a workaround, export the
database to a SQL script using the old timezone, and create a new database in the new
timezone. There is a new system property "h2.storeLocalTime" that takes daylight time
saving into account when storing and reading, however database files that are created or
modified with this flag set can not be opened with older versions of H2. The new storage
format is already supported for reading however, so that this version is forward compatible.
The same problem occurs when accessing a database over TCP/IP if the client and server
USA, or within Europe), even if the timezone itself is different. As a workaround, export the
database to a SQL script using the old timezone, and create a new database in the new
timezone. The same problem occurs when accessing a database over TCP/IP if the client and server
timezones use different rules, if an old server or client is used.
</li></ul>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -5,6 +5,7 @@
21S02=Column count does not match
22001=Value too long for column {0}: {1}
22003=Numeric value out of range: {0}
22007=Cannot parse {0} constant {1}
22012=Division by zero: {0}
22018=Data conversion error converting {0}
22025=Error in LIKE ESCAPE: {0}
......@@ -33,9 +34,6 @@
90004=Hexadecimal string contains non-hex character: {0}
90007=The object is already closed
90008=Invalid value {0} for parameter {1}
90009=Cannot parse date constant {0}, cause: {1}
90010=Cannot parse time constant {0}, cause: {1}
90011=Cannot parse timestamp constant {0}, cause: {1}
90012=Parameter {0} is not set
90013=Database {0} not found
90014=Error parsing {0}
......
......@@ -1849,7 +1849,8 @@ public class ErrorCode {
*/
public static final int RESULT_SET_READONLY = 90140;
// next are 90005, 90006, 90009, 90010, 90011, 90021, 90039, 90051, 90056, 90110, 90122, 90141
// next are 90005, 90006, 90009, 90010, 90011, 90021, 90039,
// 90051, 90056, 90110, 90122, 90141
private ErrorCode() {
// utility class
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论