play-jpa-multitenant icon indicating copy to clipboard operation
play-jpa-multitenant copied to clipboard

Partition with tenancy Id

Open heat opened this issue 8 years ago • 0 comments

Hi. I'm try use single_table method with tenant_id column, but unluck util now. Do you have some example how can I change my SessionFactory to use.

session = sessionFactory
            .withOptions()
            .tenantIdentifier( tenant )
            .openSession();

heat avatar Dec 14 '16 19:12 heat