I am using JPA and I need to make the \"tableName\" a variable.
In a database, I have many tables, and my code needs to access the table where I specify it to read.
If you want to select data from different tables,
then you can use :
@Subselect("")
instead of :
@Table(name = "tableName").
@Table(name = "tableName")