If an Entity has a generated Id by a table, the Id is increased per SessionFactory and not per tenant.
So saving an Entity for tentant A increases also the ID for tentant B. I fear that even the wrong sequence table is updated.
See the attached testcase.