Created
June 29, 2019 11:53
-
-
Save madan712/86b8a26cd787bd1e118196d864e3996a to your computer and use it in GitHub Desktop.
My Sql + Spring Boot JPA - One to many, many to one example
This file contains 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.Department; | |
@Repository | |
public interface DepartmentRepository extends JpaRepository<Department, Long> { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment