Commit 7060cc19 authored by Andy Wilkinson's avatar Andy Wilkinson

Correct the position of JNDI in the ordered list of property sources

Fixes gh-1693
parent 16937746
......@@ -203,9 +203,9 @@ Spring Boot uses a very particular `PropertySource` order that is designed to al
sensible overriding of values, properties are considered in the the following order:
. Command line arguments.
. JNDI attributes from `java:comp/env`.
. Java System properties (`System.getProperties()`).
. OS environment variables.
. JNDI attributes from `java:comp/env`
. A `RandomValuePropertySource` that only has properties in `+random.*+`.
. Application properties outside of your packaged jar (`application.properties`
including YAML and profile variants).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment