Class level @Where annotation is not enforced on collections of that class
--------------------------------------------------------------------------
Key: HHH-6781
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6781
Project: Hibernate Core
Issue Type: Bug
Components: core, documentation
Reporter: Richard Bradley
Priority: Minor
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#m...
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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira