Spring Data JPA

Problems encountered When using the Repository interface, if the query result of the findBy method is empty, a null pointer exception java.lang.NullPointerException will be reported, and if the query result is not empty, you can pass the test.
2019-05-26
2 min read