Is it possible to generate datasource settings in yaml?
Answered
Since I get to use Database view to create a connection, and then use Persistance view to generate Entity classes based on it, would it be possible to generate datasource settings in yaml files?
Like this:
spring:
datasource:
driverClassName: org.postgresql.Driver
Please sign in to leave a comment.
All data source settings are kept in dataSources.xml file inside .idea folder in project root dir. There is no way to save it in YAML at the moment. BTW, what is your use case?
Thanks for the reply, but I'm afraid my original description was inaccurate. I was actually reffering to Spring's application.yml file. I'm working with some Spring Boot project, and Idea's ability to generate Entity classes for JPA/Hibernate came very handy to me. So I started wondering if the ability to "generate" files works with Spring's own property files, such as application.yml.