Collection Filter duplicating filtered element when root entity obtained using eager fetching

Description

We have Provider * <-- Article -->* Libelle
I create a filter on Article.libelles

If i:

  • set the filter

  • call session.get(Article,...)

  • then, myArticle.libelles is well filtered, all is ok

if i:

  • set the filter

  • call hql "from Article a fetch join a.providers left join fetch a.libelles"

  • then, myArticle.libelles is well filtered BUT i have same element twice in the article.libelles List

Note that this behaviour seems to occur only when more than one collection are fetched.
To run my TestCase: only add usual jars

line 35/36 of ArticleTest.java

Environment

HSQLDB / JUnit
H3.1 RC1

Attachments

Assignee

Unassigned

Reporter

Anthony Patricio

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure