Unable to set the multitenant properties (on current source):
props.put(PropertyNames.PROPERTY_MAPPING_TENANT_READ_IDS, tenant); props.put(PropertyNames.PROPERTY_MAPPING_TENANT_ID, tenant); final EntityManager entityManager = emf.createEntityManager(props);
Has no effect.
entityManager.setProperty(PropertyNames.PROPERTY_MAPPING_TENANT_READ_IDS, tenant); Raise this log WARN Attempt to set property "datanucleus.TenantReadIds" on PM/EM yet this is not supported. Ignored
I tried to set these properties in the EMF properties without more success.