日期:2014-05-18 浏览次数:20786 次
@Query("select s.name from Student s") public List<String> getAllStudentName();
@Query("select s.id,s.name from Student s") public Map<Integer,String> getAllStudent();