In the meantime you could also try out Blaze-Persistence if you really need support for SET functions but don't want to leave your domain model thinking. It works on top of JPA but the integration is currently for Hibernate only.