You can use an interface-based DTO projection with a native query in ... nativeQuery = true) EmployeeName findEmployeeNameById(Long id); } ...
確定! 回上一頁