提交 e9d33d9e authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Set h2.oldResultSetGetObject to true by default for now

上级 bf092159
...@@ -347,13 +347,13 @@ public class SysProperties { ...@@ -347,13 +347,13 @@ public class SysProperties {
Constants.VERSION_MINOR < 4); Constants.VERSION_MINOR < 4);
/** /**
* System property {@code h2.oldResultSetGetObject}, {@code false} by default. * System property {@code h2.oldResultSetGetObject}, {@code true} by default.
* Return {@code Byte} and {@code Short} instead of {@code Integer} from * Return {@code Byte} and {@code Short} instead of {@code Integer} from
* {@code ResultSet#getObject(...)} for {@code TINYINT} and {@code SMALLINT} * {@code ResultSet#getObject(...)} for {@code TINYINT} and {@code SMALLINT}
* values. * values.
*/ */
public static final boolean OLD_RESULT_SET_GET_OBJECT = public static final boolean OLD_RESULT_SET_GET_OBJECT =
Utils.getProperty("h2.oldResultSetGetObject", false); Utils.getProperty("h2.oldResultSetGetObject", true);
/** /**
* System property <code>h2.pgClientEncoding</code> (default: UTF-8).<br /> * System property <code>h2.pgClientEncoding</code> (default: UTF-8).<br />
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论