I am new to Spring and want to use JpaRepository in a Generic way, so that i can use the same interface for all. Please suggest some examples. Thanks :)
Like i have 2 entities Employee.java & Student.java
@Repository
public interface EmployeeRepo<T, ID extends Serializable> extends JpaRepository<Employee, ID> {
}