You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Query("SELECT new com.baeldung.jpa.projection.view.PersonDto(p.firstName, p.lastName) FROM Person p WHERE p.firstName = :firstName")
PersonDtofindByFirstName(@Param("firstName") StringfirstName);
Then four out of the five failing test methods pass.
The article Introduction to Spring Data JPA which links to the code persistence-modules/spring-data-jpa-simple has a runtime bug.
Describe the Issue
Running all the tests has one failure for
JpaProjectionIntegrationTest
which is:To Reproduce
Steps to reproduce the behavior:
mvn -Dpmd.skip=true -Dtest=JpaProjectionIntegrationTest test
Expected Behavior
The test should pass.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: