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
I'm running a supported version of the application which is listed here and the feature is not present there
Is your proposal related to a problem?
I am trying to store configuration (like cluster details) in an H2 database instead of application.yml, and use that configuration to populate a @ConfigurationProperties bean like ClustersProperties.
But during the Spring Boot application startup, the @ConfigurationProperties beans are created very early, even before Spring initializes most of its infrastructure — including:
The DataSource (connection to the H2 DB),
Your Spring-managed repository beans (like ClusterRepository),
As a result, when Spring tries to populate your ClustersProperties from the environment, it doesn’t yet have access to the database — so there's no way to load values from it via normal Spring beans.
Describe the feature you're interested in
h2 db
Describe alternatives you've considered
No response
Version you're running
0.7
Additional context
No response
The text was updated successfully, but these errors were encountered:
Issue submitter TODO list
Is your proposal related to a problem?
I am trying to store configuration (like cluster details) in an H2 database instead of application.yml, and use that configuration to populate a @ConfigurationProperties bean like ClustersProperties.
But during the Spring Boot application startup, the @ConfigurationProperties beans are created very early, even before Spring initializes most of its infrastructure — including:
The DataSource (connection to the H2 DB),
Your Spring-managed repository beans (like ClusterRepository),
Any @service / @component beans that depend on database access.
As a result, when Spring tries to populate your ClustersProperties from the environment, it doesn’t yet have access to the database — so there's no way to load values from it via normal Spring beans.
Describe the feature you're interested in
h2 db
Describe alternatives you've considered
No response
Version you're running
0.7
Additional context
No response
The text was updated successfully, but these errors were encountered: