]
Sharath Reddy resolved HHH-4332.
--------------------------------
Resolution: Fixed
Fix Version/s: 3.5
Filters for MappedSuperClass
----------------------------
Key: HHH-4332
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4332
Project: Hibernate Core
Issue Type: New Feature
Components: annotations
Reporter: Shawn Clowater
Assignee: Sharath Reddy
Priority: Minor
Fix For: 3.5
Based on discussion from
http://forum.hibernate.org/viewtopic.php?t=963539&start=0
Essentially, it would be nice to be able to define filters on a MappedSuperClass and have
them 'trickle down' to the subclasses. (at the class level - not sure if property
level filters are carried down right now).
I see the MappedSuperClass as a means to define generic behaviour (common columns, etc)
and I think it makes sense for the filters to play nicely as well.
In addition, I don' t know if it is already a separate JIRA request, filters off of
an Interface would be fantastic as well as our application is using filters heavily and
are always looking at ways to reduce the amount of filter annotations that we have to
spread around.
Right now, we're either forced to copy filter annotations all over the place OR
we've actually been a bit sneaky and have tapped into custom persisters to dynamically
apply common filters. However, there is a separate issue based on the order that entity
persisters are built.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: