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

How to get the arclen between two curve points in Maya? -

C++ Linked List -

git svn - Unignore directories in git-svn (adding directories to a sparse checkout) -