From: Max R. A. (JIRA) <no...@at...> - 2006-06-25 16:29:32
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-689?page=all ] Max Rydahl Andersen closed HBX-689: ----------------------------------- Fix Version: 3.2LATER Resolution: Fixed it was broken in svn. I fixed it, thanks. (stuuupid error) > The query task > --------------- > > Key: HBX-689 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-689 > Project: Hibernate Tools > Type: Bug > Components: ant > Versions: 3.1.beta5 > Environment: Hibernate 3.1.3, against HSQL DB. > Reporter: Dave Minter > Priority: Minor > Fix For: 3.2LATER > Attachments: trace.txt > > > Running the following query task against my database: > <htools destdir="${sql}"> > <classpath refid="classpath.apps"/> > <annotationconfiguration configurationfile="${src}/hibernate.cfg.xml"/> > <query destfile="sql.log">from Note</query> > </htools> > Fails with the attached lavish stack trace. The cause of the problem appears to be a single character typo in: > org.hibernate.tool.hbm2x.QueryExporter on line 47 where a variable "iter" is used instead of "iter1". > There also appears to be a bug preventing the nested <hql> tasks from working, but I'm uncertain if that's an artifact of this problem or a separate issue. -- 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 |