I'm guessing that this is because you're using the same session factory across all tenants; it's only the connection string that's changing through your Connection Provider. This means all tenants will use the same level 2 cache, as your using the same session factory.
When you say it's returning the same data, how are you identifying this? I don't know a lot about caching (apart from I know I can get it to work), but I do remember internet posts about multi-tenant setups through NHibernate and warnings about making sure your cache regions are set appropriately. -- You received this message because you are subscribed to the Google Groups "nhusers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/nhusers. For more options, visit https://groups.google.com/d/optout.
