Hi all,
I’m trying to create a table for the mergepatientdata module that will store Audits.
I tried to map my entity but on running the test below I got the following error
@Test
public void saveAuditMessage_shouldSaveMessage() {
PaginatedAuditMessage message = new PaginatedAuditMessage();
message.setOperation(Operation.EXPORT);
message.setStatus(Status.Failure);
message.setResources(resources);
message.setFailurDetails(errorDetails);
service.saveAuditMessage(message);
}
Hibernate Mappping.
Config.xml
Application context
The Entity.