DATAJPA-1673 - Fix alias in delete query example.

Original pull request: #410.
This commit is contained in:
David Fuhr
2020-01-28 16:58:53 +01:00
committed by Jens Schauder
parent 9272eca6f9
commit 6b3a855b35

View File

@@ -544,7 +544,7 @@ interface UserRepository extends Repository<User, Long> {
void deleteByRoleId(long roleId);
@Modifying
@Query("delete from User u where user.role.id = ?1")
@Query("delete from User u where u.role.id = ?1")
void deleteInBulkByRoleId(long roleId);
}
----