Skip to content

Commit

Permalink
HHH-14325 - Add Query hint for specifying "query spaces" for native q…
Browse files Browse the repository at this point in the history
…ueries

(cherry picked from commit be70d49)
  • Loading branch information
sebersole committed Nov 16, 2020
1 parent d5067ec commit bc8e38a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -489,9 +489,9 @@ protected boolean applyQuerySpaces(Object value) {
}

if ( value instanceof Collection ) {
// if ( querySpaces == null ) {
// querySpaces = new ArrayList<>();
// }
if ( querySpaces == null ) {
querySpaces = new ArrayList<>();
}
querySpaces.addAll( (Collection<String>) value );
return true;
}
Expand Down

0 comments on commit bc8e38a

Please sign in to comment.