So, the question is you want identify which table query to execute on update accroding to field which are modified?
Simple Solution is,
For JSP/Servlet application,
1. Have a hidden field for each of these fields in
JSP 2. Check this hidden field value(old value) with the current value in your
servlet or Action class, if it is different then you execute the query which belongs only to that table.
For Desktop application,
1. Have class which stores the old value of those fields.
2. each time when it reaches DB update, check the current value with previous value, if it is different then execute that particular query.
hth,
[ December 08, 2006: Message edited by: Prabhu venkatachalam ]