My User entity has a basic collection as such:
@ElementCollection private Set<String> completedQuests = Sets.newHashSet();
How can I remove some values ββfrom this set for all / several users? What is the correct JPQL for this pseudo-course?
DELETE FROM User.completeQuests WHERE value IN (:collectionOfValues)
(An alternative is only Hibernate, although not preferred).
source share