I have an Entity with a Set of AuditRecords:
private Set<AuditRecord> auditRecords;
AuditRecord implements Serializable.
However the Sonar scan identifies this Set and other Sets in other Entities as Critical issues:
Fields in a "Serializable" class should either be transient or serializable : Make "auditRecords" transient or serializable.
JPA2 supports Sets. Why is this marked as a critical issue?