hilo - Implementing multi-tenancy in MultipleHiLoPerTableGenerator for Hibernate -
i'm trying create multi-tenant application shared schema.we have identified discriminator field filter out data base on customers.
i'm facing problem in tablegenerator strategy generating primary keys of entities.
as per logic have 2 columns seq_name , another(seq_count) tracking count.
but since multitenant application need keep them separate each customer. multiple customers have seq_name & seq_count columns belong them respectively.
i thinking might have write custom logic tablegenerator attribute discriminator column, before need advice other way this?
Comments
Post a Comment