HHH-14533 Add test for issue
This commit is contained in:
parent
0ee78b52f6
commit
87bab93d05
File diff suppressed because it is too large
Load Diff
|
@ -1056,6 +1056,21 @@ abstract public class DialectFeatureChecks {
|
|||
return getSqmFunctionRegistry( dialect ).findSetReturningFunctionDescriptor( functionName ) != null;
|
||||
}
|
||||
|
||||
public static class SupportsSubqueryInSelect implements DialectFeatureCheck {
|
||||
@Override
|
||||
public boolean apply(Dialect dialect) {
|
||||
return dialect.supportsSubqueryInSelect();
|
||||
}
|
||||
}
|
||||
|
||||
public static class SupportSubqueryAsLeftHandSideInPredicate implements DialectFeatureCheck {
|
||||
@Override
|
||||
public boolean apply(Dialect dialect) {
|
||||
return dialect.supportsSubselectAsInPredicateLHS();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static SqmFunctionRegistry getSqmFunctionRegistry(Dialect dialect) {
|
||||
SqmFunctionRegistry sqmFunctionRegistry = FUNCTION_REGISTRIES.get( dialect );
|
||||
if ( sqmFunctionRegistry == null ) {
|
||||
|
|
Loading…
Reference in New Issue