This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects

audit event failed tests

Merged Philipp Gritsch requested to merge audit-event-failed-test into development
Files
4
@@ -19,5 +19,13 @@ public interface PersistenceAuditEventRepository extends JpaRepository<Persisten
List<PersistentAuditEvent> findTop1000ByAuditEventDateBefore(Instant before);
/**
*
* Unsafe due to https://hibernate.atlassian.net/browse/HHH-5529.
* It needs to load all AuditEvents before deletion, in order to remove
* EnitityCollection(!)
* May be solved when migrating to hibernate > 6.0.0.Beta2
*/
int deleteByAuditEventDateBefore(Instant before);
}