Idea 7 m2, ejb3 inspection error
I find a some bug in code inspection.
Code:
...
return em.createQuery("from Country").getResultList();
The problem is in Idea, that considers ejb3-query "From Country" as a mistake
??.
Idea 7 M2 7126
请先登录再写评论。
Hello Alexander,
Do you have a data source configured?
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Yes of course, datasource is configured.
As far as I see you are trying to use Hibernate QL syntax in JPA API.
In JPA this query should look like "select Object(o) from Country o".
Alexander Korolev wrote: