📄 iuserdao.java
字号:
package com.teach.hibernate.dao;
import java.util.List;
import com.teach.hibernate.mappings.User;
public interface IUserDAO {
public void upate(User user) throws Exception;
public void insert(User user) throws Exception;
public void delete(Integer userId) throws Exception;
public List query(String hsql) throws Exception;
public List query(String hsql,int start,int maxcount)throws Exception;
public User getById(Integer userId)throws Exception;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -