@Override
    public void removeAll() {
        this.entityManager.createQuery("DELETE FROM JpaCasEvent e").executeUpdate();
    }
This is {@link JpaCasEventRepository} that stores event data into a RDBMS database.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-events-jpa/src/main/java/org/apereo/cas/support/events/jpa/JpaCasEventRepository.java