Skip to content

Instantly share code, notes, and snippets.

@azizkale
Created August 20, 2023 13:21
Show Gist options
  • Save azizkale/9cf9e2b4127d24fba31b4c659eaa4a50 to your computer and use it in GitHub Desktop.
Save azizkale/9cf9e2b4127d24fba31b4c659eaa4a50 to your computer and use it in GitHub Desktop.
the article - How to implement Hibernate in Spring Boot
package com.kale.hibernatetutorial.service;
import com.kale.hibernatetutorial.model.Employee;
import java.util.List;
public interface EmployeeService {
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