Commit 1ddd975a authored by 李家智's avatar 李家智
Browse files

add sample for datasource

parent 688100f9
......@@ -9,6 +9,8 @@ spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
#spring.datasource.driver-class-name=oracle.jdbc.OracleDriver
beetlsql.ds.dataSource.basePackage=com
beetlsql.ds.dataSource.dbStyle=org.beetl.sql.core.db.MySqlStyle
#有一个数据源命名为dataSource
beetlsql.mutiple.datasource=dataSource
# 1,1 是管理员密码,相当于启动后就登录,方便测试,系统需要取消这俩个配置
......
......@@ -18,7 +18,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.3.RELEASE</version>
<version>2.0.1.RELEASE</version>
</parent>
<!-- Add typical dependencies for a web application -->
<dependencies>
......
Supports Markdown
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