We are using Spring JDBC Template and native SQL queries to query the database and not using hibernate.
We define database column names in constants file and values will be coming from POJO class. Currently everywhere we are doing
Each table column names would be different.
Is it possible to generalize the method as a common api so that any entity save would it to save/update the columns?
Basically trying to configure SQL columns and values as generic parameters and save in appropriate table - example product, sales, inventory etc.,