spring data jpa @Query
为什么 @Query("select o from Employee o where id=(select max(id) from Employee t1)") public Employee getEmployeeByMaxId(); 我这么写在idea上面sql会编译不过
为什么 @Query("select o from Employee o where id=(select max(id) from Employee t1)") public Employee getEmployeeByMaxId(); 我这么写在idea上面sql会编译不过
2017-05-07
举报