class="java">String[] overcomeMenuArray = {"sdfsdf","sdfsdf"}; List<String> overcomeMenuList = Arrays.asList(overcomeMenuArray); Long[] a = (Long[])ConvertUtils.convert(idArray, Long.class); List<MessageTalk> messageTalkList = messageTalkDao.findAll(Arrays.asList((Long[])ConvertUtils.convert(ids.split(","), Long.class)));