[ http://jira.codehaus.org/browse/XDP-187?page=all ]
Konstantin Pribluda closed XDP-187. ----------------------------------- Resolution: Fixed Fix Version/s: 1.0.4 This is fixed in current subversion sources. snapshot is deployed to codehaus. Filter definitions shall be specified on root of class hierarchy 8 persistent entity ) and not on subclasses. > @hibernate.filter-def and @hibernate.filter-param not generating properly for > filters in class/subclass situation > ----------------------------------------------------------------------------------------------------------------- > > Key: XDP-187 > URL: http://jira.codehaus.org/browse/XDP-187 > Project: XDoclet 2 Plugins > Issue Type: Bug > Components: hibernate > Affects Versions: 1.0.3 > Environment: Windows XP/Eclipse IDE/Integrated ANT > Reporter: Justin Peck > Priority: Minor > Fix For: 1.0.4 > > > I have two classes, the second is called PrincipalUser extends the first > called User, and is mapped as @hibernate.joined-subclass. If I put > @hibernate.filter-def and @hibernate-filter-params in the parent class > (User), then the resulting mapping generates a <filter-def> with no enclosed > <filter-param> tags. However, when I put the @hibernate.filter-param tag in > the subclass (PrincipalUser), then the resulting mapping has the > <filter-param> defined inside like it should. > If I put both @hibernate.filter-param and @hibernate.filter-def tags in the > joined subclass (PrincipalUser) then I don't get any filter generated. > One last thing - I have to put the @hibernate.filter tag in the subclass for > the <filter> element to appear inside of the hibernate <class> element. This > might be as designed I don't know. I would expect all three > @hibernate.filter* tags to work in the parent class, but this doesn't appear > to work as describe above. > Thanks for a great product! -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ xdoclet-plugins-interest mailing list xdoclet-plugins-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest