You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.
EntityQuery class line number 125
query is not Typed hence type information is lost while creating the query and so @converter in JPA is not properly getting the entity.
In the loadItems method line number 152
final javax.persistence.TypedQuery query = entityManager.createQuery(cq);
here query is properly created as type information is specified. @tlaukkan
The text was updated successfully, but these errors were encountered:
Hi, the type of field does not affect what the method returns. Both lines use entityManager.createQuery(cq) with same type of argument. Could you elaborate what is the problem you are facing.
EntityQuery class line number 125
query is not Typed hence type information is lost while creating the query and so @converter in JPA is not properly getting the entity.
In the loadItems method line number 152
final javax.persistence.TypedQuery query = entityManager.createQuery(cq);
here query is properly created as type information is specified.
@tlaukkan
The text was updated successfully, but these errors were encountered: