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
Hide 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
...
@@ -32,91 +32,94 @@
...
@@ -32,91 +32,94 @@
<optional>
true
</optional>
<optional>
true
</optional>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-jdbc
</artifactId>
<artifactId>
spring-boot-starter-jdbc
</artifactId>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-aop
</artifactId>
<artifactId>
spring-boot-starter-aop
</artifactId>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-cache
</artifactId>
<artifactId>
spring-boot-starter-cache
</artifactId>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-data-redis
</artifactId>
<artifactId>
spring-boot-starter-data-redis
</artifactId>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<artifactId>
spring-boot-starter-test
</artifactId>
</dependency>
<dependency>
<groupId>
com.ibeetl
</groupId>
<artifactId>
beetl-framework-starter
</artifactId>
<version>
1.1.38.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.trigersoft
</groupId>
<artifactId>
jaque
</artifactId>
<version>
2.1.2
</version>
<scope>
provided
</scope>
</dependency>
</dependency>
<dependency>
<groupId>
com.ibeetl
</groupId>
<artifactId>
xlsunit
</artifactId>
<dependency>
<version>
1.0.8
</version>
<groupId>
com.ibeetl
</groupId>
</dependency>
<artifactId>
beetl-framework-starter
</artifactId>
<dependency>
<version>
1.1.38.RELEASE
</version>
<groupId>
com.zaxxer
</groupId>
</dependency>
<artifactId>
HikariCP
</artifactId>
<dependency>
</dependency>
<groupId>
com.trigersoft
</groupId>
<dependency>
<artifactId>
jaque
</artifactId>
<groupId>
mysql
</groupId>
<version>
2.1.2
</version>
<artifactId>
mysql-connector-java
</artifactId>
<scope>
provided
</scope>
<version>
6.0.5
</version>
</dependency>
</dependency>
<dependency>
<groupId>
com.ibeetl
</groupId>
<dependency>
<artifactId>
xlsunit
</artifactId>
<groupId>
org.apache.commons
</groupId>
<version>
1.0.8
</version>
<artifactId>
commons-lang3
</artifactId>
</dependency>
</dependency>
<dependency>
<groupId>
com.zaxxer
</groupId>
</dependencies>
<artifactId>
HikariCP
</artifactId>
</dependency>
<dependency>
<groupId>
mysql
</groupId>
<!-- Add Spring repositories -->
<artifactId>
mysql-connector-java
</artifactId>
<!-- (you don't need this if you are using a .RELEASE version) -->
<version>
6.0.5
</version>
<repositories>
</dependency>
<repository>
<id>
spring-snapshots
</id>
<url>
http://repo.spring.io/snapshot
</url>
<snapshots>
<enabled>
true
</enabled>
<dependency>
</snapshots>
<groupId>
org.apache.commons
</groupId>
</repository>
<artifactId>
commons-lang3
</artifactId>
<repository>
</dependency>
<id>
spring-milestones
</id>
<url>
http://repo.spring.io/milestone
</url>
</dependencies>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<!-- Add Spring repositories -->
<id>
spring-snapshots
</id>
<!-- (you don't need this if you are using a .RELEASE version) -->
<url>
http://repo.spring.io/snapshot
</url>
<repositories>
</pluginRepository>
<repository>
<pluginRepository>
<id>
spring-snapshots
</id>
<id>
spring-milestones
</id>
<url>
http://repo.spring.io/snapshot
</url>
<url>
http://repo.spring.io/milestone
</url>
<snapshots>
</pluginRepository>
<enabled>
true
</enabled>
</pluginRepositories>
</snapshots>
</repository>
<repository>
<id>
spring-milestones
</id>
<url>
http://repo.spring.io/milestone
</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>
spring-snapshots
</id>
<url>
http://repo.spring.io/snapshot
</url>
</pluginRepository>
<pluginRepository>
<id>
spring-milestones
</id>
<url>
http://repo.spring.io/milestone
</url>
</pluginRepository>
</pluginRepositories>
</project>
</project>
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