java - Hibernate - same class with different tables -


i'm trying build app uses table each user. each user's table should contain 10k lines, don't want 1 big table information' prefer divide small tables.

here example:

@entity @table(name = "items") public class item{    @id @generatedvalue    @column(name = "id")    private int id;     @column(name = "description")    private string description; ... 

can somehow make multiple tables use same class , this? :

items_user1

items_user2

...


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -