mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-08 20:24:46 +00:00
HHH-14325 - Add Query hint for specifying "query spaces" for native queries
This commit is contained in:
parent
49ae7bdff0
commit
c444d5f9e5
@ -492,9 +492,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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user