|
If I try to execute a NamedQuery with a subselect I get the exception in the subject line. Note that this same code base worked fine on 4.2.8.Final. Here's an example query that will give you this exception:
@NamedQuery( name = "Contact.updateBlocked", query = "UPDATE ContactEntity SET blocked = true WHERE " + "id IN :ids OR " + "(owner.id = :ownerId AND " + "user != null and user IN ( SELECT c1.user " + "FROM ContactEntity c1 WHERE c1.id IN (:ids)))" ),
If there is no sub-select the query works. This worked fine in 4.2.8.Final.
|