Closed kapil-signity closed 4 years ago
Cannot Autowire normal JPA Repository of entity if we create DatatableRepository of same entity.? Why? Then how how we create JPARepository of the same entity along with DatatableRepository?
Hi!
The DataTablesRepositoryImpl class extends the SimpleJpaRepository class (which itself implements the JpaRepository interface):
DataTablesRepositoryImpl
https://github.com/darrachequesne/spring-data-jpa-datatables/blob/ea534b9325140b5739366f4d1d155ac2746030c7/src/main/java/org/springframework/data/jpa/datatables/repository/DataTablesRepositoryImpl.java#L16-L17
So you should have access to all the methods. Or am I missing something?
Cannot Autowire normal JPA Repository of entity if we create DatatableRepository of same entity.? Why? Then how how we create JPARepository of the same entity along with DatatableRepository?