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 e564999c94
commit 993c15c014

View File

@@ -582,7 +582,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);
}
----