org.hibernate.hql.QueryExecutionRequestException: Not supported for DML operations [update models.UserOnline uo SET currentRoom_id = :roomid where这就是我正在尝试的:
Query update_query = JPA.em().createQuery("update UserOnline uo SET currentRoom_id = :roomid where
我已经研究了ARRAY_CONTAINS,但是在Array.ALS中,不要让它与数组一起工作。我已经用any尝试了一些东西。对于any函数,我尝试了像SELECT * FROM c WHERE c.pages.any(p, p.items.any(i, i.id = "item_1" AND i.value = "bar")