Who loads first application.properties or application.yaml in Spring boot

Опубликовано: 04 Октябрь 2024
на канале: Code Decode
5,498
214

In this shorts of code decode we have explained about application.properties vs application.yml.

Always .yaml gets loaded first .

We should never use use .yaml or .properties together because preference is given to .yaml but since .properties gets loaded later, the common properties in both files get overridden by one who loads later.


Most Asked Core Java Interview Questions and Answers:    • Core Java frequently asked Interview ...  

Advance Java Interview Questions and Answers:    • Advance Java Interview Questions  

Java 8 Interview Questions and Answers:    • Java 8 Interview Questions(New Features)  

Hibernate Interview Questions and Answers:
   • Hibernate Interview Questions Java  

Spring Boot Interview Questions and Answers:
   • Advance Java Interview Questions  

Angular Playlist:    • Angular Course Introduction || Angular 8  


SQL Playlist:    • SQL Interview Questions and Answers  

GIT:    • GIT  

Subscriber and Follow Code Decode
Subscriber Code Decode: https://www.youtube.com/c/CodeDecode?...
LinkedIn :   / codedecodeyoutube  
Instagram:   / codedecode25  

#springboot #interviewquestions #codedecode