Skip to content

bhupal4all/spring-data-jpa-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Data JPA Learnings

Hibernate Interceptor

  • Whenever Book Entity is Inserted, Modified or Deleted
    • Make an entry at History table table as well with changes
  • A generic library is written
    • AuditHistory annotation at entity
    • AuditHistoryIgnore annotation to ignore a property
      • Can be multiple
    • AuditHistoryIdentifier annotaiton for Identifier Method for new and delete operations
    • AuditHistoryFieldExtensionHook annotation for Property Extension

About

Spring Data JPA - Learnings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages