[JBoss JIRA] Created: (JBIDE-8824) Editing support for JPQL queries in orm.xml files.
by henk de boer (JIRA)
Editing support for JPQL queries in orm.xml files.
--------------------------------------------------
Key: JBIDE-8824
URL: https://issues.jboss.org/browse/JBIDE-8824
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Hibernate
Reporter: henk de boer
Assignee: Max Rydahl Andersen
orm.xml or any <mapping-file> referenced from persistence.xml can contain JPQ (<named-query><query>) or SQL (<named-native-query><query>).
It would be a great advantage if there was tooling support available for editing JPQL in these files. A minimum feature set could include:
* Auto completion of entities in e.g. the FROM clause (in "SELECT ... FROM Entity entity", editor should be able to autocomplete Entity here)
* Navigate into entities (in above fragment, ctrl-clicking on Entity would open Entity.java)
* Auto completion of JPQL variables. (After the above fragment, editor should be able to autocomplete entity in "WHERE entity = ...")
As a more advanced feature, the editor could validate whether the entire JPQL is syntactical correct.
A nice to have would also include support for <named-native-query>, but as the syntax here is DB dependent and its usage may be relatively rare this is probably not very high on the wish list of many.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 12 months
[JBoss JIRA] Created: (JBIDE-8621) provide multi-line comments in hql-editor
by nimo stephan (JIRA)
provide multi-line comments in hql-editor
-----------------------------------------
Key: JBIDE-8621
URL: https://issues.jboss.org/browse/JBIDE-8621
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Reporter: nimo stephan
According to https://issues.jboss.org/browse/JBIDE-6974, comments are provided, but only one-line-comments via --. This is a limitation!
Especially, multi-line-comments should be provided by /*comment*/.
/* . . . */ is supported in SQL.
Especially in hql-editor, multline comments are more sensefull than one-line-comments.
Imagine, I have 20 queries, I am forced to have 20 hql-editor instances in my ide!
This does not only cost RAM, it is also not user-friendly to handle 20 different hql-editors-instances instead of only one, in which the user can comment out different queries via multi-line.
Please provide a full support for comments in hql-editor, one-line AND multi-line comments.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 12 months