首页>代码>s2sh(Spring4&Struts2.3&Hibernate4)项目整合简单实例>/src/com/atguigu/ssh/dao/DepartmentDao.java
package com.atguigu.ssh.dao;

import java.util.List;

import com.atguigu.ssh.entities.Department;

public class DepartmentDao extends BaseDao{

	public List<Department> getAll(){
		String hql = "FROM Department";
		return getSession().createQuery(hql).list();
	}
	
}
最近下载更多
and123456  LV11 2022年3月16日
mrmrmr2333  LV4 2020年11月5日
yep123  LV2 2020年6月29日
zhaowenbin  LV6 2019年6月17日
aa991215  LV17 2019年6月1日
zxcvbnmasfghjkl  LV8 2019年5月29日
chenlinkai  LV8 2019年4月24日
1206207437  LV8 2019年4月23日
1763157114  LV15 2018年12月31日
hu0336  LV10 2018年12月26日
最近浏览更多
zhaoming200677  LV12 2023年4月18日
ethanmilk 2023年1月13日
暂无贡献等级
745742217 2022年4月27日
暂无贡献等级
shamexidan  LV9 2022年3月26日
yuwucaia  LV1 2022年1月26日
微信网友_5766146313375744 2021年12月29日
暂无贡献等级
过过成功尺寸  LV7 2021年11月24日
yexiansheng  LV1 2021年11月6日
linom199144  LV2 2021年7月5日
13555563  LV2 2021年6月30日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友