List<Object> list = em.createNativeQuery("SELECT* from TableA").list();. //直接取第一列值1:. Object[] row = (Object[]) list.get(0);.
確定! 回上一頁