Simple Spring Program

JPA EntityListner example with Spring Boot 1.5.1

Vikas Ve2ma
Introduction To audit any transaction table you can use EntityListener Annotation of the JPA. JPA provide the EntityListener annotations that attach a listener class with the entity that you want to audit. What is audit table ? Audit Tables are used to track transactions against a particular table or tables. They allow you to see an ongoing “log” for future use. There may be users and/or applications that have access to insert, update, and delete out of that table.