 <p>You could use Spring JDBC to populate data in your application.</p> <p>Here you have example how to use it:</p> <p><a href="http://docs.spring.io/spring-boot/docs/current/reference/html/howto-database-initialization.html#howto-initialize-a-database-using-spring-jdbc" rel="nofollow">http://docs.spring.io/spring-boot/docs/current/reference/html/howto-database-initialization.html#howto-initialize-a-database-using-spring-jdbc</a></p> <p>But better solution could be using Flyway or Liquibase. How to use this tools is also described in spring documentation.</p>