[hibernate-issues] [Hibernate-JIRA] Commented: (HBX-897) Allow excess declarations in the Query Parameters view

Joseph Marques (JIRA) noreply at atlassian.com
Fri Feb 23 11:49:41 EST 2007


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

Joseph Marques commented on HBX-897:
------------------------------------

"eed to know which parameters are actually needed upfront" -> but then how do you generate the list of needed parameters when you click that ":p-with-a-plus-sign" icon?  I figured you actually pulled it from the query, but maybe you just generically scan the editor area looking for tokens that start with a colon?

Hmm...interesting.  So as the cursor moves through the different statements in the edtior (perhaps now seperated by semi-colons [see HBX-896]) the list of parameters would change to the saved list for the given query?  If so, that seems cool, but  it doesn't allow you to have a global picture of things.

The whole reason I want the HQL editor to support multiple queries was because - even in my short time using the tools - I hate flipping back and forth between 2, 3, or even 4 different editors when I'm mocking up new statements.

Perhaps instead of another column (I totally understand the real estate issue), you could somehow use vertical separators (see HBX-901 attachments).  Each distinct group of queries could have a "title row" that would distinguish it's block of parameters from the others (I'm thinking in terms of html, but something like a colspan across name / type / value / null).

> Allow excess declarations in the Query Parameters view
> ------------------------------------------------------
>
>          Key: HBX-897
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-897
>      Project: Hibernate Tools
>         Type: New Feature

>     Versions: 3.2beta8
>     Reporter: Joseph Marques

>
>
> When working with multiple queries it would be a lot more usable if Hibernate Tools allow you to keep extra / unused variables in the query parameters view.  This way, If I'm switching back and forth between executing different queries in the same HQL editor, they will all run without me having to keep editing the parameter list.

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