Apress / pivotal-certified-pro-spring-dev-exam-02

Source Code for 'Pivotal Certified Professional Core Spring 5 Developer Exam' by Iuliana Cosmina
Other
170 stars 240 forks source link

Update PersonRepo.java to allow build to succeed #3

Closed mike2ykme closed 4 years ago

mike2ykme commented 4 years ago

After installing local ojdbc7 file, removing r2dbc comments on build.gradle, I found this @Query annotation was causing the build excluding tests to fail. After this change I was able to get it to build successfully.

iuliana commented 4 years ago

Hello! I cannot accept this change request. The reactive-boot-r2dbc project module uses the r2dbc driver, which is a reactive equivalent of ojdbc. So I hope the ojdbc7 driver you mentioned was necessary for another module. As for the location of the Query interface, I disagree. This image shows a full successful build of the project together with the version of spring-data-r2dbc library and its contents, especially the org.springframework.data.r2dbc.repository.query package. Please check your build and the dependencies versions that are brought over from public repositories. Cheers!