Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Springboot Plus
Commits
1ddd975a
Commit
1ddd975a
authored
Jul 22, 2018
by
李家智
Browse files
add sample for datasource
parent
688100f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
admin-console/src/main/resources/application.properties
View file @
1ddd975a
...
...
@@ -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 是管理员密码,相当于启动后就登录,方便测试,系统需要取消这俩个配置
...
...
pom.xml
View file @
1ddd975a
...
...
@@ -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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment