[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-663?page=co...
]
Eric Rizzo commented on HHH-663:
--------------------------------
If the feature won't be implemented, at least the documentation should be updated to
eliminate confusion. Chapter 12.3 of the book explains the design intent clearly but
chapter 17 of the reference manual makes it seem that filters apply across the entire
entity.
Please re-open this as a request to clarify the documentation.
Enabling filters for get(), load(), ... - please reopen HHH-67
--------------------------------------------------------------
Key: HHH-663
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-663
Project: Hibernate3
Issue Type: Improvement
Components: core
Affects Versions: 3.0.5
Reporter: Michael Wyraz
Hibernate filters apply only to queries, not to load/get by id. This was also postet as
bug HHH-67. This bug was rejected with the reason "This is by intent and thus not a
bug."
The Hibernate documentation says for Filters: "Filters can be used like database
views, but parameterized inside the application.". The filter is attached to a class
or a collection.
So in my oppinion there's no reason _not_ to use filters with get() or load(). In
fact, that's what users expect after reading the documentation.
So the current behaviour is a bug. Either in hibernate or in the documentation.
Michael.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira