10

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)?

CPA
  • 2,923
  • 4
  • 30
  • 52

2 Answers2

5

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

Ihor Dobrovolskyi
  • 1,241
  • 9
  • 19
0

Wel, it's not for JPA, but I created a tool, EWA, for creating Repositories, Services and Models for Spring Boot + sql2o, a simple db driver, the fastest after pure JDBC.

Marco Sulla
  • 15,299
  • 14
  • 65
  • 100