We're updating the issue view to help you get more done. 

Where clause for collections of basic, embeddable and "any" elements is ignored when mapped using hbm.xml

Description

caused this regression. It specifically affects collections mapped using hbm.xml using where="..." for collections of basic, embeddable, or "any" elements.

Before was fixed, org.hibernate.mapping.Collection#setWhere was called for all the different types of elements (although, it was not correct for one-to-many associations).

After was fixed, org.hibernate.mapping.Collection#setWhere was only called for one-to-many and many-to-many associations. As a result, the "where" mapping is ignored for basic, embeddable, and "any" elements.

Environment

None

Status

Assignee

Gail Badner

Reporter

Gail Badner

Fix versions

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.4.0.CR1
5.3.6

Priority

Major