-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
DB is cleared when service is restarted in dev and qa.
Steps To Reproduce
Steps to reproduce the behaviour:
- Post schema to registry
- Get schemas by name and see it exists
- Restart service
- Get schema by name and we get nothing
Expected behaviour
DB should not be cleared when service is restarted.
Most likely what is happening here is a hibernate/jpa auto config which is dropping and recreating the db on start up:
https://docs.spring.io/spring-boot/docs/1.1.0.M1/reference/html/howto-database-initialization.html#howto-initialize-a-database-using-hibernate
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working