[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4332) Filters for MappedSuperClass

Shawn Clowater (JIRA) noreply at atlassian.com
Wed Oct 28 12:06:14 EDT 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34327#action_34327 ] 

Shawn Clowater commented on HHH-4332:
-------------------------------------

I forgot all about this, I'll have to see how it all ties back into what we have 2 years later and what workarounds it can allow us to unwind.

The only thing that piques my interest is the comment about filters not being allowed on subclasses, that's not going to cause a rebreak of HHH-123 is it?

> 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: 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