HHH-14325 - Add Query hint for specifying "query spaces" for native queries
This commit is contained in:
parent
37a8d22155
commit
be70d49df9
|
@ -492,9 +492,9 @@ public class NativeQueryImpl<T> extends AbstractProducedQuery<T> implements Nati
|
|||
}
|
||||
|
||||
if ( value instanceof Collection ) {
|
||||
// if ( querySpaces == null ) {
|
||||
// querySpaces = new ArrayList<>();
|
||||
// }
|
||||
if ( querySpaces == null ) {
|
||||
querySpaces = new ArrayList<>();
|
||||
}
|
||||
querySpaces.addAll( (Collection<String>) value );
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue