From: Dave M. (JIRA) <no...@at...> - 2006-06-17 08:02:35
|
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 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 |