Based on the release notes it is mentioned that the default mode for JPA repositories is is set to "deferred"
but in contradiction to the documented behaviour I see in the start log of our spring boot application: (Running on Spring Boot Version 2.3.2.RELEASE
INFO o.s.d.r.c.RepositoryConfigurationDelegate - Bootstrapping Spring Data JPA repositories in DEFAULT mode.
I have not yet set the spring.data.jpa.repositories.bootstrap-mode=default
.
This means from my point of view that the behaviour has not been changed?
Comment From: wilkinsona
Thanks for the report, but I can't reproduce the behaviour that you have described. The bootstrap mode is DEFFERED
when I start a minimal application generated by start.spring.io:
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.3.2.RELEASE)
2020-07-28 08:25:22.745 INFO 49682 --- [ main] c.e.demo.JpaBootstrapModeApplication : Starting JpaBootstrapModeApplication on fulcrum.local with PID 49682 (/Users/awilkinson/dev/workspaces/spring-projects/spring-boot/master/jpa-bootstrap-mode/target/classes started by awilkinson in /Users/awilkinson/dev/workspaces/spring-projects/spring-boot/master/jpa-bootstrap-mode)
2020-07-28 08:25:22.747 INFO 49682 --- [ main] c.e.demo.JpaBootstrapModeApplication : No active profile set, falling back to default profiles: default
2020-07-28 08:25:23.077 INFO 49682 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFERRED mode.
If you would like us to spend some more time investigating, please spend some time providing a complete yet minimal sample that reproduces the problem. You can share it with us by pushing it to a separate repository on GitHub or by zipping it up and attaching it to this issue.
Comment From: spring-projects-issues
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
Comment From: spring-projects-issues
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.