Created
June 29, 2019 11:52
-
-
Save madan712/091440a53c11a2fc7dce54d243d36341 to your computer and use it in GitHub Desktop.
My Sql + Spring Boot JPA - One to many, many to one example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.javaxp.repository; | |
import org.springframework.data.jpa.repository.JpaRepository; | |
import org.springframework.stereotype.Repository; | |
import com.javaxp.model.Employee; | |
@Repository | |
public interface EmployeeRepository extends JpaRepository<Employee, Long> { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment