I am writing a program which will display different translations of a book depending on the selection. so suppose I have 3 tables with same columns in DB let say, English, French and German. Then I have a POJO, say Book.java.
Now how can I use that same class to query the specific table based on user selection. Do I change the value of @table(name="...") dynamically? is that even possible? I have been using jdbc for a while but this will be my first hibernate project.