[hibernate-issues] [Hibernate-JIRA] Closed: (HBX-689) The query task

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Mon Aug 14 20:06:19 EDT 2006


     [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-689?page=all ]
     
Max Rydahl Andersen closed HBX-689:
-----------------------------------

    Fix Version: 3.2beta7
                     (was: 3.2LATER)
     Resolution: Fixed

> 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.2beta7
>  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




More information about the hibernate-issues mailing list