她愿意服从,因为她能够统治。——巴尔扎克《奇双会》

首先引入GAV

1
2
3
4
5
<dependency>
<groupId>org.zenframework.z8.dependencies.commons</groupId>
<artifactId>ojdbc6</artifactId>
<version>2.0</version>
</dependency>

然后修改applicationurl和驱动

1
2
3
datasource:
driver-class-name: oracle.jdbc.OracleDriver
url: jdbc:oracle:thin:@localhost:1521/数据库名