@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
        Type: Bug

  Components: hibernate  
    Versions: 1.0.3    
 Environment: Windows XP/Eclipse IDE/Integrated ANT
    Reporter: Justin Peck
    Priority: Minor


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


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
xdoclet-plugins-interest mailing list
xdoclet-plugins-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to