Question: You need to update table data in database through spring boot . Assume you have multiple tables in database , Make a generic function for

You need to update table data in database through spring boot .

Assume you have multiple tables in database , Make a generic function

for all tables which update the data for table which input is given ..

For example in function params you will get public void update(String TableName , int id , Map map)

here in map you will get column and the data that is to be updated

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!