[hibernate-dev] Does hibernate multi-tenancy lead to reduced heap usage

amit shah amits.84 at gmail.com
Sun Sep 27 01:29:53 EDT 2015


Including the dev mailing group to get a few suggestions on my question.

Thanks!

On Wed, Sep 23, 2015 at 4:54 PM, amit shah <amits.84 at gmail.com> wrote:

> We are planning to integrate hibernate 4 multi-tenancy feature into our
> application. With this feature I assume we would have only one session
> factory instance irrespective of the number of tenants. (right?). If so,
> would it lead to reduced heap usage or would the single session factory
> instance occupy the same amount of memory as multiple instances did before?
> Are there any other performance benefits with this integration?
>
> I wanted to get an understanding on this before starting with the actual
> implementation since it involves considerable code changes.
>
> Thanks!
>


More information about the hibernate-dev mailing list