Reputation: 3063
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)?
Upvotes: 10
Views: 19525
Reputation: 15930
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
.
Upvotes: 0
Reputation: 1241
You can use Spring Roo to create models and repositories by one command. http://docs.spring.io/spring-roo/reference/html/intro.html
Upvotes: 5