[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2394) Support filter tag in subclass

Welkin Hu (JIRA) noreply at atlassian.com
Wed Jan 31 05:15:41 EST 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2394?page=comments#action_25958 ] 

Welkin Hu commented on HHH-2394:
--------------------------------

Hibernate 3 does not supports filter tag in subclass (includes union-subclass, joined-subclass) yet. 
I think this feature is very useful. For example,  There is a class which includes many types and totally billions of records.
In this case I do not want create a root table for all types.  I rather to apply per concrete class per table strategy, create one abstract class and some union-subclass. 
I defined a filter for object's permission checking. Since every object type have its own table, I have to define the filter in each union-subclass. 

Is it correct? 

> Support filter tag in subclass
> ------------------------------
>
>          Key: HHH-2394
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2394
>      Project: Hibernate3
>         Type: Improvement

>   Components: core
>     Versions: 3.0 beta 4
>     Reporter: Welkin Hu
>     Assignee: Steve Ebersole
>      Fix For: 3.0 rc 1

>
>
> According to a user:
> http://forum.hibernate.org/viewtopic.php?p=2229539#2229539
> It's not possible to get a filter to apply to a subclass.
> This is Bad ;-)
> Steve, is that correct?

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