Skip to content

sharmashashank342/entity-events-and-auditing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

entity-events-and-auditing

Build Status Coverage Status License Maven Central Javadocs

spring-boot Library for auditing and realtime spring application events of every entity save or update

License

Project is licensed under Apache Software License, Version 2.0.

Dependencies

Spring Boot

Spring Data JPA

Hibernate

Version used

We used spring-boot-starter-parent version 1.5.21.RELEASE as parent and will upgrade versions in later releases

Description

In Spring Data JPA, many times we require auditing of tables or entities and also want to sync the same entities to any NoSQL Datasource for CQRS

In Those cases, this library will be a great help.

It works based on Hibernate Entity Events

The Events are raised after you call any of the below methods available in JPA

  • org.springframework.data.repository.CrudRepository#save(java.lang.Object)

  • org.springframework.data.jpa.repository.JpaRepository#save(java.lang.Iterable)

When to use

For Auditing and Listening Entity Events (Create or Update currently Supported)

Support

If you need help using the project feel free to drop an email or create an issue in github.com (preferred)

Contributions

To help development you are encouraged to

  • Provide suggestion/feedback/Issue
  • pull requests for new features
  • Star 🌟 the project

View My profile on LinkedIn