7
Hello I am with an application that uses multiple databases (multi-tenancy) using Hibernate. I wonder if anyone knows any way Hibernate can update the bank schema. I’ve already set the property Hibernate.hbm2dll.auto : update. but it doesn’t work.
7
Hello I am with an application that uses multiple databases (multi-tenancy) using Hibernate. I wonder if anyone knows any way Hibernate can update the bank schema. I’ve already set the property Hibernate.hbm2dll.auto : update. but it doesn’t work.
1
Answer:
You can use the framework Flyway to update all schemas or databases when initializing your application.
References:
Browser other questions tagged java hibernate jpa spring-mvc spring-jpa
You are not signed in. Login or sign up in order to post.
I never found, and I searched a lot!! I always had to create the schemes manually =/
– Giuliana Bezerra