Search This Blog

Friday, September 21, 2018

[HDGEM] Spring DataSource configuration is controlled by external configuration properties in spring.datasource.*.

 For example, you might declare the following section inapplication.properties:
spring.datasource.url=jdbc:mysql://localhost/test  spring.datasource.username=dbuser  spring.datasource.password=dbpass  spring.datasource.driver-class-name=com.mysql.jdbc.Driver



--
Posted By Blogger to HDGEM at 5/29/2017 11:31:00 AM