javaspring-bootspring-dataspring-data-jpaspring-repositories

Generate automatically Spring Data Repositories from JPA entities


I have a lot of JPA entities automatically created from a relational database schema.

Is there any way to generate also there corresponding Spring Data Repositories (Repository interfaces)?


Solution

  • You can use Spring Roo to create models and repositories by one command. http://docs.spring.io/spring-roo/reference/html/intro.html