studentdao.java

来自「Struts+Spring+Hibernate 增删改查」· Java 代码 · 共 16 行

JAVA
16
字号
package com.yumeng.ssidemo.dao;

import java.sql.SQLException;
import java.util.List;

import com.yumeng.ssidemo.po.Student;

public interface StudentDAO {
   public void insertStudent(Student student)throws SQLException;
   public void deleteStudent(int id)throws SQLException;
   public void updateStudent(Student student)throws SQLException;
   public List selectAllStudent()throws SQLException;
   public Student selectStudentById(int id)throws SQLException;
   public Student selectStudentByName(String name)throws SQLException;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?