play-jpa-multitenant
play-jpa-multitenant copied to clipboard
Partition with tenancy Id
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();