1、 To add detailed version information , First look at the current Oracle Database version

select * from v\$version;

The query returns the following information

BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.1. - Production
PL/SQL Release 11.2.0.1. - Production
CORE 11.2.0.1. Production
TNS for -bit Windows: Version 11.2.0.1. - Production
NLSRTL Version 11.2.0.1. - Production

2、 install JAR package

mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc5 -Dversion=11.2.0.1. -Dpackaging=jar -Dfile=%ORACLE_HOME%/jdbc/lib/ojdbc5.jar
mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0.1. -Dpackaging=jar -Dfile=%ORACLE_HOME%/jdbc/lib/ojdbc6.jar

3、 Now it's in the local warehouse Oracle JDBC package , When using , stay pom.xml Add the following configuration to the file

<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.2.0.1.0</version></dependency>

## take Oracle JDBC More related articles about driver library installation to local warehouse

1. Oracle Jdbc Driver download and install local maven Warehouse

Because of the binary license binary license The limitation of ,oracle jdbc The driver cannot be obtained through the shared warehouse , So you can download it and add it to your local warehouse or private warehouse . The steps to add to the local warehouse are as follows : download Oracle ...

2. Oracle JDBC The driver is installed to Maven Local repository

Oracle JDBC Because of the authorization problem , Didn't put it in Maven In our central warehouse , Yes, of course , Alicloud's image is gone . So from the Oracle Download driver on official website : Pay attention to download ojdbc6.jar  Because of this JDK1.8 Ability to use . ...

3. maven pack oracle jdbc drive

background Because of the copyright problem ,maven The central warehouse lacks oracle jdbc The driver , This brings a lot of inconvenience to the development . There are also various solutions , There are basically two ways of thinking : take oracle The driver is installed in the local warehouse , We need to unify our good name ...

4. maven( Nine ),install Install to local warehouse

download oracle drive jar package stay maven In the central warehouse , It's not oracle drive jar Bag . because oracle It's commercial software , Its jar Packages are not allowed for open source use . from http://www.mvnrepository.c ...

5. Maven： take Jar Install to local warehouse and Jar Upload to private service

1. Depends on the following : <dependency> <groupId>org.quartz-scheduler.internal</groupId> <artifact ...

6. Maven ： take Jar Install to local warehouse and Jar Upload to private service turn

http://blog.csdn.net/we_shell/article/details/49819221 Jar Of maven To configure <dependency><groupId> ...

7. Local jar Package installation to local warehouse

Will local jar Package installed in local warehouse , Remember the double quotation marks on the parameters mvn install:install-file -Dfile="jar The full path " -DgroupId="groupId ...

8. Local jar package Commands installed in the local repository

maven project Local jar package Install it in the local warehouse : First, go to the folder where the file is located If it's not in the direct absolute path . Notice the space in the command mvn install:install-file  -Dfile= file name ...

9. Maven- take jar Package installation to local warehouse

Because the project needs , It uses sqlserver database , But I can't find the corresponding pom rely on , So we need to put the local jar Package installation to local warehouse , Definition pom rely on . Take this as an example , other jar Packages can refer to this method cmd Command statement : mvn i ...

## Random recommendation

1. iOS Principle of mobile hard disk

iOS mobile hard disk drive , It's just the packaging of a concept , The principle is to create a specific directory under the user directory , The application layer makes an interface to directly access this directory . The general process is : Monitor acquisition device Handle . AMDeviceConnect Connecting device , and ...

2. extjs There are three ways to add event listening to components

extjs There are three ways to add listening to components   Set... When defining the configuration of a component As shown in the code :  Java Code   xtype : 'textarea',  name : 'dataSetField',  labelSe ...

3. Web The front-end development ： Why do you choose MVVM Instead of MVC

stay Web It's full of so-called MVC frame , As far as I'm concerned , Because of some key technical reasons ,MVC stay Web It can't be used in front-end development at all ( Right , It's impossible , Instead of not being ) stay Web It's full of so-called MVC frame , As far as I'm concerned , Because some of the key ...

4. html5 Adding music includes pausing

<audio id="musicfx" loop="loop" autoplay="autoplay"> <source ...

5. Openstack:ice-house setup script

#apt-get install ntpdpkg-reconfigure tzdata --> Asia -->Shuanghai #apt-get install python-mysq ...

6. 【Python Reptiles 】 install pyQuery Pit encountered Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?

windows 64 Bit operating system , use Python Grab web page , And use pyQuery Parse web pages pyQuery yes jQuery stay python In the implementation of , Be able to jQuery To operate parsing HTML file , Ten square ...

7. SpringCloud Eureka Service registration and discovery —— Server side / client / Consumers build

Eureka yes Netflix Produced tools for service registration and discovery . Spring Cloud Integrated Eureka, And provides out of the box support . among , Eureka It can be subdivided into Eureka Serv ...

8. centos Use notes

20180404: Today, I installed centos6.9, The first installation of 7.4 I can't get into the installation interface , And then I downloaded 6.9 Version of , Can install . After installation, it appears when starting up fail reg Error of , And then prompt to log in , I don't know if the user name is :r ...

9. DZY Loves Math（ Mobius inversion ）

$$x=p_1^{\alpha_1}p_2^{\alpha_2}...p_c^{\alpha_c}$$ $$f(x)=\max(\alpha_1,\alpha_2,...,\alpha_c)$$ \( ...

10. css Layout --- All kinds of media

It's what we use css Come to the situation that we often encounter . Use css To center , Sometimes one attribute can do it , Sometimes it takes skill to be compatible with all browsers , This article makes a brief introduction to some common methods of centering . notes : In addition to the special explanation of the method mentioned in this paper ...