On February 16th I will be doing a presentation on multi-tenacy and Hibernate as part of the JBoss Developer Webinar Series. Some background can be found in my earlier Multi-tenancy in Hibernate blog entry. In the presentation I will cover approaches to handling multi-tenancy in Hibernate today as well as touching on the planned support upcoming in Hibernate 4.
Register for the webinar at https://engage.redhat.com/forms/20110216HibernateMultitendancy. Hope to see you there!
Created: 15. Feb 2011, 17:33 CET (Steve Ebersole)
Last Modified: 15. Feb 2011, 17:35 CET (Steve Ebersole)
I have a another question about 2nd level cache:
Would I still be able to use 2nd level cache in separate schema design,
if I add a tenant Id to the entity as a property with formula attribute (to do a sql call to get tenant_it from the DB session or some other table) ?
Thanks,
Vadim
See http://community.jboss.org/docs/DOC-16502 for collected resources/discussions about this topic.
No, that wont work.