Hi all,
I want to add a logging entity activities mechanizm to an application. Let's
think about a bean and its log table.
class Person{
Long id;
String name;
Date birthDate;
}
class Person_Log{
Long id;
Long personId;
String name;
String birthDate;
Integer activityType; // this could be 0=insert, 1=update, 2=delete
}
When a person bean is going to be inserted or updated, the code should enter
a new record to the Person_Log. The question is what is your opinion to make
this kind of logging. I am using hibernate and Appfuse 2.0.
Any link, suggestion, code sample would be helpful.
Thanks...
--
View this message in context:
http://www.nabble.com/Logging-Entity-Activity-Approach-tf4520769s2369.html#a12896266
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]