HHH-15814 add methods for current time selection to CockroachLegacy Dialect
This commit is contained in:
parent
c8723d3f14
commit
7a1f2542c1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue