If I want to have DB table with scheme id|column1|rest of columns...
@Table(name = "SampleEntity")
@Id @GeneratedValue val id: Long,
how can I add columns to table such that the table has these columns, but my entity does not?
I would like to be able to add these columns programmatically with a for loop. But any pointers would be appreciated.
Subscribe to get latest updates