@Override
    public void deleteAll() {
        val query = "DELETE FROM " + ENTITY_NAME;
        entityManager.createQuery(query).executeUpdate();
    }
This is {@link JpaConsentRepository}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-consent-jdbc/src/main/java/org/apereo/cas/consent/JpaConsentRepository.java