[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1620) HQL Editor & Hibernate Criteria Editor

Max Andersen (JIRA) jira-events at lists.jboss.org
Mon Jan 14 13:00:43 EST 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-1620?page=comments#action_12394991 ] 
            
Max Andersen commented on JBIDE-1620:
-------------------------------------

note: putting "from Account" when Account is selected when you open the query editor is ok by me...putting the comment in there is not since

a) it will be obnoxious the second time you open the editor

b) hql does not support comments

...if nothing is selected you could put "from <whatever is the first mapped entity in the configuration>"



> HQL Editor & Hibernate Criteria Editor
> --------------------------------------
>
>                 Key: JBIDE-1620
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1620
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Hibernate
>            Reporter: Vitali Yemialyanchyk
>         Assigned To: Vitali Yemialyanchyk
>            Priority: Minor
>
> for the first time it is not obvious what he should enter into editors to get some result and
> these editors are helpful - it be greate for the first time have a code snippet where... Window -> Preferences -> user can switch off this code
> for example:
> 1)
> // this is small code example, you can find more
> // http://www.hibernate.org/hib_docs/reference/en/html/queryhql.html
> from mapping.querycache.Item
> 2)
> // this is small code example, you can find more
> // http://www.hibernate.org/hib_docs/reference/en/html/querycriteria.html
> session.createCriteria(mapping.querycache.Item.class)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list