How to establish a connection to the oracle eclipse

Creative Commons License Copyright: Attribution, allow others to create paper-based, and must distribute paper (based on the original license agreement with the same license Creative Commons )

1, Maven Oraclejar local installation package:

Win+rcmd:
Then:
C:\Users\P1323388>mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc6 -	Dversion=12.1.0.2.0 -Dpackaging=jar -	Dfile=D:\app\oracle12c\product\12.1.0\dbhome_1\jdbc\lib\ojdbc6.jar【其中:	D:\app\oracle12c\product\12.1.0\dbhome_1\jdbc\lib\ojdbc6.jar
是oracle安装目录下面自带的ojdbc6.jar的路径】

2, an increase in the dependency- new pom spring starter project file following

<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<scope>12.1.0.2.0 </scope>

Guess you like

Origin blog.csdn.net/u014515465/article/details/93204576