Query query = this.getSession().createSQLQuery(sql).setResultTransformer(Transformers.ALIAS_TO_ENTITY_MAP); List<LinkedCaseInsensitiveMap> lists=query.list(); List<LinkedCaseInsensitiveMap> lm=new ArrayList<LinkedCaseInsensitiveMap>(); for(int i=0;i<lists.size();i++){ LinkedCaseInsensitiveMap map=new LinkedCaseInsensitiveMap(); map.putAll(lists.get(i)); lm.add(map); }