[#1028] Syntax errors when using untyped param() in HSQLDB (and other strongly typed dialects)
This commit is contained in:
parent
9687809b8a
commit
ee29265748
@ -143,7 +143,7 @@ class Val<T> extends AbstractField<T> implements Param<T> {
|
||||
}
|
||||
|
||||
// [#1028] Most databases don't know an OTHER type (except H2, HSQLDB).
|
||||
else if (SQLDataType.OTHER == getDataType(context)) {
|
||||
else if (SQLDataType.OTHER == getDataType(context).getSQLDataType()) {
|
||||
|
||||
// If the bind value is set, it can be used to derive the cast type
|
||||
if (value != null) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user