Hi_Amos
坚持每天都在进步!!
摘要: public String deleteByUserAccount(String account) { 方式一: Session session = this.getCurrentSession(); Criteria criteria = session.createCriteria(SysUserC.class).add(Restrictions.eq("account", account)); Object object = criteria.uniqueResult(); if (object == null) { return null; } else { ... 阅读全文
posted @ 2013-10-24 15:56 Hi_Amos 阅读(2120) 评论(0) 推荐(0) 编辑
摘要: public class RegisterStory { private SysUserCDao sysUserCDao; @Test public void test() { SessionFactory sessionFactory = new Configuration().configure 阅读全文
posted @ 2013-10-24 15:02 Hi_Amos 阅读(421) 评论(0) 推荐(0) 编辑