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
37edb043
Commit
37edb043
authored
Feb 24, 2018
by
李家智
Browse files
orace support
parent
c83b07fe
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
admin-console/src/main/resources/application.properties
View file @
37edb043
spring.datasource.url
=
jdbc:mysql://127.0.0.1:3306/starter?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8&useSSL=false
spring.datasource.url
=
jdbc:mysql://127.0.0.1:3306/starter?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8&useSSL=false
spring.datasource.username
=
root
spring.datasource.username
=
root
spring.datasource.password
=
123456
spring.datasource.password
=
123456
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
# 1,1 是管理员密码,相当于启动后就登录,方便测试,系统需要取消这俩个配置
# 1,1 是管理员密码,相当于启动后就登录,方便测试,系统需要取消这俩个配置
user.id
=
1
user.id
=
1
user.orgId
=
1
user.orgId
=
1
...
@@ -17,6 +17,7 @@ server.port=8080
...
@@ -17,6 +17,7 @@ server.port=8080
#html视图交给beetl渲染
#html视图交给beetl渲染
beetl.suffix
=
html
beetl.suffix
=
html
beetlsql.dbStyle
=
org.beetl.sql.core.db.MySqlStyle
beetlsql.dbStyle
=
org.beetl.sql.core.db.MySqlStyle
#beetlsql.basePackage=com.ibeetl,com.xxx.yourpackage
beetlsql.basePackage
=
com.ibeetl
beetlsql.basePackage
=
com.ibeetl
app.name
=
Spring Boot开发平台
app.name
=
Spring Boot开发平台
logging.pattern.console
=
%-4relative [%thread] %-5level %logger{256} %M %L - %msg%n
logging.pattern.console
=
%-4relative [%thread] %-5level %logger{256} %M %L - %msg%n
\ No newline at end of file
admin-core/src/main/java/com/ibeetl/admin/core/conf/DataSourceConfig.java
View file @
37edb043
...
@@ -15,7 +15,7 @@ public class DataSourceConfig {
...
@@ -15,7 +15,7 @@ public class DataSourceConfig {
ds
.
setJdbcUrl
(
env
.
getProperty
(
"spring.datasource.url"
));
ds
.
setJdbcUrl
(
env
.
getProperty
(
"spring.datasource.url"
));
ds
.
setUsername
(
env
.
getProperty
(
"spring.datasource.username"
));
ds
.
setUsername
(
env
.
getProperty
(
"spring.datasource.username"
));
ds
.
setPassword
(
env
.
getProperty
(
"spring.datasource.password"
));
ds
.
setPassword
(
env
.
getProperty
(
"spring.datasource.password"
));
ds
.
setDriverClassName
(
env
.
getProperty
(
"spring.datasource.driver-class-name"
));
//
ds.setDriverClassName(env.getProperty("spring.datasource.driver-class-name"));
return
ds
;
return
ds
;
}
}
}
}
...
...
admin-core/src/main/java/com/ibeetl/admin/core/entity/BaseEntity.java
View file @
37edb043
...
@@ -14,8 +14,8 @@ import com.fasterxml.jackson.annotation.JsonAnySetter;
...
@@ -14,8 +14,8 @@ import com.fasterxml.jackson.annotation.JsonAnySetter;
public
class
BaseEntity
extends
TailBean
implements
java
.
io
.
Serializable
{
public
class
BaseEntity
extends
TailBean
implements
java
.
io
.
Serializable
{
protected
final
static
String
ORACLE_CORE_SEQ_NAME
=
"core
-
seq"
;
protected
final
static
String
ORACLE_CORE_SEQ_NAME
=
"core
_
seq"
;
protected
final
static
String
ORACLE_AUDIT_SEQ_NAME
=
"audit
-
seq"
;
protected
final
static
String
ORACLE_AUDIT_SEQ_NAME
=
"audit
_
seq"
;
@JsonAnyGetter
@JsonAnyGetter
public
Map
<
String
,
Object
>
getTails
(){
public
Map
<
String
,
Object
>
getTails
(){
return
super
.
getTails
();
return
super
.
getTails
();
...
...
doc/starter-oracle.sql
View file @
37edb043
This diff is collapsed.
Click to expand it.
lib/ojdbc6-11.2.0.1.0.jar
0 → 100644
View file @
37edb043
File added
lib/readme.md
0 → 100644
View file @
37edb043
oracle 先本地安装驱动,进入当前目录
mvn install:install-file -Dfile=ojdbc6-11.2.0.1.0.jar -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0 -Dpackaging=jar
<dependency
<groupId>
com.oracle
</groupId>
<artifactId>
ojdbc6
</artifactId>
<version>
11.2.0
</version>
</dependency>
pom.xml
View file @
37edb043
...
@@ -81,6 +81,9 @@
...
@@ -81,6 +81,9 @@
<version>
6.0.5
</version>
<version>
6.0.5
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.apache.commons
</groupId>
<groupId>
org.apache.commons
</groupId>
<artifactId>
commons-lang3
</artifactId>
<artifactId>
commons-lang3
</artifactId>
...
...
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