Improved formatting of bitnot emulation
This commit is contained in:
parent
979b1f05fd
commit
1c7ae2da3a
@ -79,7 +79,7 @@ class Neg<T> extends AbstractField<T> {
|
||||
SQLDialect family = ctx.configuration().dialect().family();
|
||||
|
||||
if (operator == BIT_NOT && asList(H2, HSQLDB).contains(family)) {
|
||||
ctx.sql("(0 -")
|
||||
ctx.sql("(0 - ")
|
||||
.visit(field)
|
||||
.sql(" - 1)");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user