Order of JpaEntityProviderFactory and other factories

Hi,

We have implemented a new SPI. In its implementation we have to add some tables to the database which is easy by implementing JpaEntityProviderFactory.
So we have one class implementing JpaEntityProviderFactory setting up the tables.
And another two classes implementing the *Provider and the *ProviderFactory interfaces of our SPI.

Is there any rule on the execution order? We expect the tables to be created when *ProviderFactory.postInit(KeycloakSessionFactory) gets called but actually they are not.

Thanks for your help