Skip to content

Instantly share code, notes, and snippets.

@madan712
Created June 29, 2019 11:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save madan712/091440a53c11a2fc7dce54d243d36341 to your computer and use it in GitHub Desktop.
Save madan712/091440a53c11a2fc7dce54d243d36341 to your computer and use it in GitHub Desktop.
My Sql + Spring Boot JPA - One to many, many to one example
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