[ http://jira.codehaus.org/browse/XDP-201?page=all ]

Konstantin Pribluda closed XDP-201.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.4

This issue was fixed together with XDP-209, 
now queries are not inherited anymore, 

> Named query generated multiple times in mapping file when declaring class has 
> subclasses.
> -----------------------------------------------------------------------------------------
>
>                 Key: XDP-201
>                 URL: http://jira.codehaus.org/browse/XDP-201
>             Project: XDoclet 2 Plugins
>          Issue Type: Bug
>          Components: hibernate
>    Affects Versions: 1.0.4
>         Environment: Generated files used against Hibernate 3.1.
>            Reporter: Liam Hale
>            Priority: Minor
>             Fix For: 1.0.4
>
>
> If a named query is defined on a class that has hibernate subclasses, then 
> the query is included in the generated hibernate mappings file once for the 
> original class and once per subclass, causing hibernate to error when it 
> processes the file.  Changing the 
> queryHolder.getTagsByName('hibernate.query',true) call in Query.jelly to 
> queryHolder.getTagsByName('hibernate.query',false) corrects the problem.

-- 
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to