Multi Tenancy with Hibernate update schema

7

Hello, I'm using an application that uses multiple (multi-tenancy) databases using hibernate. I would like to know if anyone knows any way Hibernate can do the update in the schema of the banks. I have already set the hibernate.hbm2dll.auto: update property. but it does not work.

    
asked by anonymous 05.07.2016 / 22:38

1 answer

1

Answer:

You can use the Flyway framework to update all schemas or databases when initializing your application.

References:

Flyway

Update all schemas with multitenancy architecture

    
10.09.2016 / 21:03