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

c# SetCompatibleTextRenderingDefault must be called before the first -

c++ - Fill runtime data at compile time with templates -

C#.NET Oracle.ManagedDataAccess ConfigSchema.xsd -