Skip to content

Instantly share code, notes, and snippets.

@azizkale
Last active August 20, 2023 13:14
Show Gist options
  • Save azizkale/ee882ac7c607af18a2aec06b230e4049 to your computer and use it in GitHub Desktop.
Save azizkale/ee882ac7c607af18a2aec06b230e4049 to your computer and use it in GitHub Desktop.
the article - How to implement Hibernate in Spring Boot
package com.kale.hibernatetutorial.dao;
import com.kale.hibernatetutorial.model.Employee;
import java.util.List;
public interface EmployeeRepository {
List<Employee> findAll();
Employee findById(int id);
void create(Employee employee);
void delete (int id);
Employee update(Employee employee);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment