↧
Spring Boot – how to configure in-memory database for testing
While running automated tests, we’d often like to use a light-weight in-memory database instead of a persistent one like MySQL. So, in this post, we’ll discuss how to configure your ... The post Spring...
View ArticleHow to create a schema and initialize database in a Spring Boot application
A common way to auto-create a database schema in a Spring Boot JPA application is just to set a spring.jpa.hibernate.ddl-auto property to create, create-drop or update. This would create a ... The post...
View Article