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

Key: IDEA-17744
Type: Bug Bug
Status: Open Open
Assignee: Gregory Shrago
Reporter: Serge Baranov
Votes: 0
Watchers: 1
Operations

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

JPQL completion stops working when appending a string

Created: 14 Apr 08 13:21   Updated: 14 Apr 08 13:26
Component/s: Editor. Code Completion

Build: 7,757


 Description  « Hide
Support feedback:

When I use JPQL (Open JPA Query Lang) and do this...

entityManager.createQuery ("select u from User u where u.status ");

Intellij looks at the persistence model and does auto-sense on the query. It knows all the properties and works like a CHAMP! However, as soon as I append a string to the end, ALL of the auto-sense is turned off.

String orderbyclause = "€œorder by u.status";
entityManager.createQuery ("select u from User u where u.status " + orderbyclause );

This has to be a bug. I wouldn'€™t expect it to correct the Attached String ( orderbyclause ), but I would still expect it to work on the "select u from User u where u.status " and it does not.



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