On Mon, 2005-04-11 at 20:26, Peilin Zhang wrote: > Hi, > > I have attached my fix to XDT-1061 for your review.
Please attach it to the issue in JIRA. Emails get overlooked or forgotten. Thanks for the contribution. Andrew. -- > Problem description: > ============== > The @hibernate.query tag is currently coupled with @hibernate.class tag, > making it impossible to generate hibernate mapping files that contains > only named query definitions. This requirement is essential for large > projects where named queries are defined with the Data Access Objects. > Fix for the problem: > ============= > To fix the problem, two issues have to be addressed: > 1. In XDoclet core, a TemplateSubTask has to support the ability to use > multiple "havingClassTag" values (a String array of tag names). In the > case of Hibernate module, both "hibernate.class" and "hibernate.query" > should qualify for XDoclet generation. > 2. In XDoclet Hibernate module, the hibernate.xdt template file has to > be changed so that the "hibernate.class" tag is no longer a requirement > for the "hibernate.query" tag to be processed. > > The attached patch file contains fixes to the above problems. > > Regards. > > Peilin Zhang > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel