Query query = em.createNativeQuery(sql,java.util.Map.class);. 這樣就可以直接返回Map格式的結果集了。 @Query的使用. 1.
確定! 回上一頁