11 2017 档案
摘要:` String hql = "from SysUser o join o.set where owner_id = :newName"; Query query = this.getCurrentSession().createQuery(hql); query.setParameter(0, u
阅读全文
摘要:文章一: 1.用hql语句 ` String hql="select student.id, student.name ,class.name from student映射实体类名 as student , class映射实体类名 as class where class.id = student.
阅读全文
摘要:要理解为什么不用注入,首先就清楚注入的目的是什么?如果不注入,在程序中要使用某个类对象的方法,则需要去new一个对象。然后我们调用其中的方法,众所周知“程序=算法+数据”。不失一般性,在面向对象开发中,类一般有两种,一种是功能类的,主要是完成一些业务操作。一种是数据类,主要是存储数据,比如POJO。
阅读全文
摘要:http://blog.csdn.net/xybelieve1990/article/details/52043127
阅读全文
摘要:javax.servlet javax.servlet api 3.1.0
阅读全文

浙公网安备 33010602011771号