简体   繁体   中英

Hibernate 4 Multi-tenancy

From the documents provided I learn that the hibernate4 allows multi-tenacity in three different levels.

Though what I cant understand is, whether we can have different set of entities for different tenants.

Thanks.

No you do not need multiple set of entities, the point of multi tenancy is to use the same relational structure (set of entities) but have multiple copies of it. One copy per tenant essentially.

I have written a short post on it you can find here multi tenancy in hibernate 3

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM