@Override
    public void removeAll() {
        val query = String.format("DELETE FROM %s", ENTITY_NAME);
        this.entityManager.createQuery(query).executeUpdate();
    }
This is {@link JpaResourceSetRepository}.

@author Misagh Moayyed
@since 6.0.0
support/cas-server-support-oauth-uma-jpa/src/main/java/org/apereo/cas/uma/ticket/resource/repository/impl/JpaResourceSetRepository.java