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

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -