Skip to content

Instantly share code, notes, and snippets.

@code-machina
Created April 5, 2019 07:02
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 code-machina/b1474dc97e473272daaa670bf8081af8 to your computer and use it in GitHub Desktop.
Save code-machina/b1474dc97e473272daaa670bf8081af8 to your computer and use it in GitHub Desktop.
Repository for Student Model
package com.gbkim.student.dal.repos;
import org.springframework.data.repository.CrudRepository;
import com.gbkim.student.dal.entities.Student;
// CrudRepository<Model_class_name, ids_type> (for example: CrudRepository<Student, Int>)
public interface StudentRepository extends CrudRepository<Student, Long> {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment