How to Initialise datasource programatically with micronaut. #2960
Unanswered
Praveen-7163
asked this question in
Q&A
Replies: 2 comments
-
Here is an example di-example.zip |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @graemerocher , thanks the example you gave is working fine, can you please document this if not present that we need to specify dailect property in application.properties explicitly when creating datasource beans programatically. |
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 Team,
can you please show any documents or sample code snippets about initialising datasource beans programmatically in java rather than defining them in application.properties file.
And also how to use EntityManager in above case like do we need to specify that EntityManager should point to any datasource..etc
Beta Was this translation helpful? Give feedback.
All reactions