06 2012 档案

摘要:解决思路一(采用hql查询): String sql = "select a from DocCatalogInfo a where a.catCode like '"+catCode+"%'";List catNameList =getHibernateTemplate().find(sql);return catNameList ;ok,测试一下发现没问题,看来还是因为用原生sql查询的原因,网上搜一下:createsqlQuery返回对象,看到一篇文章才觉悟到:解决思路二(采用原生sql查询):String sql = " 阅读全文
posted @ 2012-06-27 16:07 sky7034 阅读(218) 评论(0) 推荐(0)

蘑菇街女装 货运专家