Results 18 comments of Anton Yudin

`SELECT e.id FROM Event e` returns a List of Event objects instead of EventId.

Another interesting thing. If I use `createQuery("SELECT e.id FROM Event e", EventId.class)` instead of a simple `createQuery("SELECT e.id FROM Event e")`, I get the following error message: Mismatch in expected...

According to the specification and my experience with other JPA implementations, the SELECT clause allows one to select not only entities, but separate fields and even use a constructor to...

Is there a plan to make Kundera follow the JPA spec on this and make it compatible with other JPA implementations?

This issue is mostly to be complaint with the spec and to be compatible with other JPA providers. It is very common to use JPQL or Criteria API to select...

Here is the spec talking about polymorphic queries support. > 4.4.8 Polymorphism > Java Persistence queries are automatically polymorphic. The FROM clause of a query designates not > only instances...

I decided not to use kundera's Criteria API as it is not JPA compliant yet. I'm using JPQL instead, even though I prefer to use CriteriaAPI when I work with...