-
Iterable<Entity> geted = entityDao.findAll();
-
List<Entity> list = Lists.newArrays();
-
geted.forEach(single ->{list.add(single)});
将JPA出参Iterable转为List
猜你喜欢
转载自www.cnblogs.com/yushizhang/p/10084680.html
今日推荐
周排行