2008年7月25日

摘要: 问:执行如下方法时,发生"No CurrentSessionContext configured"错误执行如下方法时,发生"No CurrentSessionContext configured"错误:Public static Session currentSession() {try { System.out.println("HibernateUtil.currentSession() - start"); return getSessionFactory().getCurrentSession();} catch (Hiber 阅读全文
posted @ 2008-07-25 08:56 路大侠 阅读(165) 评论(0) 推荐(0)

导航