How to run SQL query in spring boot when my tables' name is dynamic and the number of the columns of the table is also dynamic/varying depending on the requirement.
While using entity class
we require to set static table and column names.
Eg-
Table- FunndTransfer_Category1 have columns - id,name,amount,abc
Table- FunndTransfer_Category2 have columns - id,name,amount,xyz
here column name abc,xyz will add at time of table creation when user upload it.
Is there any alternate approach to run query??