Skip to content

djarnis73/spring-boot-db-init-with-jpa-entity-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

spring-boot-db-init-with-jpa-entity-manager

Example of initializing database as part of the spring boot application startup.

This particular example deals with the fact that you cannot use an EntityManager in a @PostConstruct method. Instead it does the initialization in an ApplicationReadyEvent handler.

About

Example of initializing database as part of the spring boot application startup.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages