Class level @Where annotation is not enforced on collections of that class

Description

The documentation appears to suggest that @Where annotations on entities affect everywhere that class is loaded:

http://docs.jboss.org/hibernate/core/3.3/reference/en/html/mapping.html#mapping-declaration-class

> where (optional): specifies an arbitrary SQL WHERE condition to be used when retrieving objects of this class.

I have found that this SQL fragment is not automatically applied to collections of entities. The documentation should clarify this.

Environment

None

Assignee

Unassigned

Reporter

Richard Bradley

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

Yes, likely

Requires Release Note

None

backportDecision

None

Components

Priority

Minor
Configure