Replies: 1 comment
-
I think we can use that bean requires by another bean of ours and make that eager initialize. Same effect. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, Micronaut takes care of creating javax.sql datasource beans from app config yaml. And if we use JDBI it will create those as well. Sometimes there are use cases to eager initialize those datasources at startup, instead of lazy load and create beans on demand.
1. Is there a way to eagerly initialize datasource beans ?
Beta Was this translation helpful? Give feedback.
All reactions