Last active
August 20, 2023 13:14
-
-
Save azizkale/ee882ac7c607af18a2aec06b230e4049 to your computer and use it in GitHub Desktop.
the article - How to implement Hibernate in Spring Boot
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.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