I'm trying to fetch a list of entities, by their Id. I Use this query:
SELECT c FROM User c WHERE c.id IN :ids
This querey works as long as I don't set the property "id" as @Id.
If i set @Id to any other member, this query works, if I set id as @Id, it stops working and gives zero results. Is this a known limitation or a bug? Do you have any idea how to solve this problem?