HHH-15814 add methods for current time selection to CockroachLegacy Dialect

This commit is contained in:
Karel Maesen 2022-12-07 21:36:27 +01:00 committed by Christian Beikov
parent c8723d3f14
commit 7a1f2542c1
1 changed files with 15 additions and 0 deletions

View File

@ -423,6 +423,21 @@ public class CockroachLegacyDialect extends Dialect {
return " cascade";
}
@Override
public boolean supportsCurrentTimestampSelection() {
return true;
}
@Override
public boolean isCurrentTimestampSelectStringCallable() {
return false;
}
@Override
public String getCurrentTimestampSelectString() {
return "select now()";
}
@Override
public boolean supportsDistinctFromPredicate() {
return true;