History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-17729
Type: New Feature New Feature
Status: Open Open
Assignee: Gregory Shrago
Reporter: Stephen Friedrich
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Support EL in EJB-QL/HQL

Created: 11 Apr 08 16:10   Updated: 11 Apr 08 16:24
Component/s: J2EE.Seam

Build: 8,280


 Description  « Hide
Seam supports usage of JSF/JBoss-EL in queries.
See Seam reference section "8.5. Using EL in EJB-QL/HQL", for example:
User user = em.createQuery("from User where username=#{user.username}")
.getSingleResult();

This makes for nice, short, readable queries.
Unfortunately Idea currently does not parse the EL part, so it is also error prone (no validation while typing) and fragile (breaks when refactoring).

It would be great if Idea would understand this mixed HQL/EL and parse the EL as well.

Related:
IDEADEV-20744



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.