I used the Logback Audit to persist the entity object into database. It was success. But I want to add some audit information into a audit table without using a Entity class. I used the bellow code snippet to add some date into table, but it did not work out.
AuditorFactory.setApplicationName("AuditLogger");
new AuditorFacade("AAA", "BBB", "CCC").audit();
I want to use hibernate, but I am not sure how to do the hibernate configuration for this scenario. I just create the hibernate property file and put it in the class path, but it did not help me.
When we use the Logback audit functionality, please let me know what kind of configuration we have to do and how this application will communicate with database.