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.