
This commit updates DatabaseInitializationDependencyConfigurer so that it does not inject the Environment anymore. Doing so in such a low-level callback can lead to early resolution of factory beans. Rather, this commit uses the EnvironmentAware callback that short-circuit dependency resolution. Closes gh-29475