Loving the new multiline JPA query parsing

Just got 7291 and noticed that Idea is smart enough to know that a string that is passed into EntityManager.createQuery(String) is recognized as a JPA query and does the error checking on it. And also allows multiline queries like the following

String query = "select fch from SomeClass fch where " +
"fch.user.id = :userId and " +
"fch.something.id = :somethingId";

Keep up the good work!

Please sign in to leave a comment.