H2 supports 'true' and 'false' boolean literals

This commit is contained in:
gavinking 2020-01-31 23:37:56 +01:00
parent 398dcfffeb
commit 1706141ffc
1 changed files with 5 additions and 0 deletions

View File

@ -183,6 +183,11 @@ public class H2Dialect extends Dialect {
return "datediff(?1, ?2, ?3)";
}
@Override
public String toBooleanValueString(boolean bool) {
return String.valueOf( bool );
}
@Override
public LimitHandler getLimitHandler() {
return limitHandler;