Skip to content

application.yml jpa: default: on next line will fail loading EntityManager if it does not have a space in front of it #3955

Answered by graemerocher
steve363 asked this question in Ideas
Discussion options

You must be logged in to vote

Compilation errors would requiring parsing the application.yml file in the compiler which we don't really want to do. The best thing you can do is use an IDE that highlights the errors like IntelliJ IDEA.

In terms of examples your best source is https://micronaut.io/launch/

If you select the oracle feature it will show you how to setup a datasource. This can be done via the command line as well:

mn create-app myapp --features oracle

I have converted this a discussion for the moment but if you have any concrete PRs for improvements to the docs that would help others in the future contributions are welcome.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@steve363
Comment options

@alvarosanchez
Comment options

Answer selected by graemerocher
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #3955 on August 24, 2020 09:20.