[hibernate-issues] [Hibernate-JIRA] Created: (ANN-594) Filters for MappedSuperClass

Shawn Clowater (JIRA) noreply at atlassian.com
Fri Apr 13 18:18:04 EDT 2007


Filters for MappedSuperClass
----------------------------

                 Key: ANN-594
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-594
             Project: Hibernate Annotations
          Issue Type: New Feature
          Components: binder
    Affects Versions: 3.3.0.ga
            Reporter: Shawn Clowater
            Priority: Minor


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: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list