HHH-14325 - Add Query hint for specifying "query spaces" for native queries

This commit is contained in:
Steve Ebersole 2020-11-16 10:34:43 -06:00
parent 37a8d22155
commit be70d49df9
1 changed files with 3 additions and 3 deletions

View File

@ -492,9 +492,9 @@ public class NativeQueryImpl<T> extends AbstractProducedQuery<T> implements Nati
} }
if ( value instanceof Collection ) { if ( value instanceof Collection ) {
// if ( querySpaces == null ) { if ( querySpaces == null ) {
// querySpaces = new ArrayList<>(); querySpaces = new ArrayList<>();
// } }
querySpaces.addAll( (Collection<String>) value ); querySpaces.addAll( (Collection<String>) value );
return true; return true;
} }