-
Aug 16th, 2012, 07:09 PM
#1
How to implement Auditing JPA customized?
I have been reading your guides about how to implement auditing JPA but I have some doubts about why is necessary to save the values on the clone table, because I would want to save these values in my own table and my own format, for example
Name Of Table : HistoryChange, it will be the unique table for all changes, where the main columns would be:
NameOfTable : This will be the name of the table affected
OldValuesOfRow: This will be the column of the old values that will be saved in JSON format, like this example: {"id":3;"productName":"Car Red"}
NewValuesOfRow: This will be the column of the new values that will be saved in JSON format, like this example: {"id":3;"productName":"Car Red New"}
UserId: Name of the user id who did the change.
DateOfChange: Date Time when was the change.
I need some information or link, where you show how to implement your Auditing JPA customized, what classes I have to use of your API, what class I need to extends.
Kindly Awaiting for your comments.
Thanks in Advance.
Fred
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules