How to create a BaseDAO class for jdbcTemplate which handles the save, update and delete in generic way so that we can use the same in any entity.
for example, in sales we may have the id column as salesId, in product we have the id column as id, in inventory table we will have the id column as invId.
Assume we need to have one generic method for save which gets something like parameter names and values and inserts it
However the above example doesn't clearly says the or gives the implementation of the BaseObjectMapper and seems pretty big
Need a proper way to define the save, update and delete.