随笔分类 -  hibernate

摘要:待总结 阅读全文
posted @ 2013-05-22 14:29 akingseu 阅读(176) 评论(0) 推荐(0)
摘要:eg.String hql = "select dr.date,sum(dr.click_num) as cn from DailyRecord dr ";hql += " where 1=1 ";hql += " and dr.date > :date ";...hql += " group by dr.date ";//(1)hql += " order by dr.date desc "; Session session = getSessionFactory().openSessi 阅读全文
posted @ 2013-05-22 14:23 akingseu 阅读(236) 评论(0) 推荐(0)