![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hibermate
tree135311
这个作者很懒,什么都没留下…
展开
-
hibernate基础知识备份
1.如果要修改某行数据的某个值,先得到这个对象实例,然后set需要更新的属性,然后update。2.hibernate在8小时内不对mysql进行操作时,会导致8小时后访问不到MYSQL,因为MYSQL默认是8小时后抛弃闲置链接,原文MySQL closes connections after 8 hours of inactivity. You either need to use a conn转载 2007-05-15 21:39:00 · 825 阅读 · 0 评论 -
hibernate简单分页
package tree.bean;import java.util.List;import org.hibernate.HibernateException;import org.hibernate.Query;import org.hibernate.Session;import org.hibernate.Transaction;import tree.HibernateUtil;pub原创 2007-05-25 21:48:00 · 845 阅读 · 1 评论 -
Hibernate
1.Hibernate中的HQL查询问题-----构造函数问题http://www.matrix.org.cn/thread.shtml?topicId=43573&forumId=23转载 2007-06-01 11:06:00 · 514 阅读 · 0 评论