I have a JPA Repository method that should return a List
__CODEBLOCK0__
I expected an empty list but got null. Is this normal?
Log in to add a comment.
Spring Data JPA should return an empty list, not null. If you're getting null, check for these common issues:
If you're still getting null, share your complete entity and repository code.