damluar
0
Q:

jpa query methods count

public interface UserRepository extends CrudRepository<User, Integer> {
    Long countByName(String name);
}
0

New to Communities?

Join the community