mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-16 16:15:06 +00:00
HHH-14585 Handle filter fragment on CollectionSizeNode
This commit is contained in:
parent
15d9eb4112
commit
a106ce29dc
@ -12,6 +12,7 @@
|
||||
import org.hibernate.internal.util.StringHelper;
|
||||
import org.hibernate.persister.collection.CollectionPropertyMapping;
|
||||
import org.hibernate.persister.collection.CollectionPropertyNames;
|
||||
import org.hibernate.persister.collection.OneToManyPersister;
|
||||
import org.hibernate.persister.collection.QueryableCollection;
|
||||
import org.hibernate.type.StandardBasicTypes;
|
||||
|
||||
@ -89,6 +90,8 @@ public String toSqlExpression() {
|
||||
buffer.append( ownerKeyColumns[i] ).append( " = " ).append( collectionKeyColumns[i] );
|
||||
}
|
||||
|
||||
buffer.append( collectionDescriptor.filterFragment( collectionTableAlias,
|
||||
collectionOwnerFromElement.getWalker().getEnabledFilters() ) );
|
||||
buffer.append( ")" );
|
||||
|
||||
if ( scalarName != null ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user