最新文章列表

Hibernate中query的常用方法

/** * 添加 */ public void save(Stu stu){    try {     tran=this.GetSession().beginTransaction();     this.GetSession().save(stu);     tran.commit();    } catch (HibernateException e) {     throw e;    }f ...
昔雪似花 评论(0) 有24272人浏览 2012-03-05 17:41

spring的hibernateTemplate中执行sql语句

org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here   注意此处要用openSession!   this.getHibernateTemplate().ge ...
gaobusi 评论(1) 有2549人浏览 2011-12-01 11:35

最近博客热门TAG

Java(141741) C(73643) C++(68602) SQL(64557) C#(59604) XML(59131) HTML(59042) JavaScript(54916) .net(54782) Web(54511) 工作(54116) Linux(50906) Oracle(49861) 应用服务器(43285) Spring(40811) 编程(39452) Windows(39380) JSP(37540) MySQL(37266) 数据结构(36420)

博客人气排行榜

    博客电子书下载排行

      >>浏览更多下载

      相关资讯

      相关讨论

      Global site tag (gtag.js) - Google Analytics