[hibernate-issues] [Hibernate-JIRA] Commented: (HBX-896) Support multi-query HQL editor environment

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Fri Feb 23 08:47:33 EST 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-896?page=comments#action_26243 ] 

Max Rydahl Andersen commented on HBX-896:
-----------------------------------------

I've thought about it but never done it because the query parser does not support multiple statements.

What about just using ; for the seperation ?

> Support multi-query HQL editor environment
> ------------------------------------------
>
>          Key: HBX-896
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-896
>      Project: Hibernate Tools
>         Type: New Feature

>     Versions: 3.2beta8
>     Reporter: Joseph Marques
>  Attachments: hqlSnippet.png
>
>
> Allow multiple select statements in the HQL editor.
> Then a user could:
> * highlight-run the desired query, or
> * click-run, to run all of the queries
> The different sections could be seperated by some special character or phrase, say, "--" (two dashed), to signify that lexing should begin anew after the special character.
> Even better, the editor could support user-comments above the start of each query.  It would be optional above the first one (so that the HQL editor can be used identically to how it used to when it only worked for single queries), but required for any other queries in the same editor.  This way, the lexar still knows when to break and start over.  (see attachedment)

-- 
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