List Info

Thread: Created: (ANN-594) Filters for MappedSuperClass




Created: (ANN-594) Filters for MappedSuperClass
country flaguser name
United States
2007-04-13 17:18:04
Filters for MappedSuperClass
----------------------------

                 Key: ANN-594
                 URL: http://opensource.atlassian.com/projects/hibern
ate/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&a
mp;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/pro
jects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira

        
_______________________________________________
hibernate-issues mailing list
hibernate-issueslists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-issu
es

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )