摘要: 这是个非常蛋疼的问题 场景,hibernate读取数据 1 2 3 4 5 6 7 8 9 10 @Override public List<Object> getRankList(Date stime, Date etime, int type, int num) { String hql = " 阅读全文
posted @ 2016-09-18 15:09 迈阿密小昭 阅读(3440) 评论(2) 推荐(0) 编辑
摘要: 执行结果: 2over1over3over0over4over6over7over8over9over9null2130467895over 阅读全文
posted @ 2016-09-18 15:08 迈阿密小昭 阅读(2137) 评论(0) 推荐(0) 编辑
摘要: 通过配置文件可以轻松装配List、Set、Array、Map,以List 和Map为例: 注意: bean中必须有get/set方法 具体的实现类型为bean中定义的类型 List、Set、Map中元素类型为自定义类型时用:ref map中元素类型为自定义类型时用:key-ref,value-ref 阅读全文
posted @ 2016-09-18 15:07 迈阿密小昭 阅读(281) 评论(0) 推荐(0) 编辑