Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 733
CPA Avatar asked Dec 21 '16 08:12

CPA


1 Answers

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

like image 140
Ihor Dobrovolskyi Avatar answered Oct 06 '22 01:10

Ihor Dobrovolskyi