Tags: uil www art one file drive pre connection Count dependentOne, when we need to connect to a database in a MAVEN project, we only need to configure its dependencies, but Maven does not provide Oracle JDBC driver, which is not available due to Oracle licensing issues and needs to be added manually. Second, get the j
This article is reproduced from http://www.cnblogs.com/leiOOlei/archive/2013/10/21/3380568.htmlBecause it is a second encounter, so copy come over, afraid of other people's blog after the latter what reason, can't find.View your Oracle version first, log into the database using Sqlplus/as SYSDBA, and have explicit version information in the ECHO message1. Download the appropriate version from the official Oracle
1. Find the available oracle jdbs driver jar package and place it in the specified directory (which can be customized as needed) D: \ jdbc \ ojdbc14.jar
2. Install maven. Configure the environment variable MAVEN_HOME = 'point to the maven installation directory'
3. Open the cmd window, jump to the D: \ jdbc directory
)
theAt Org.hibernate.service.classloading.internal.ClassLoaderServiceImpl.classForName (Classloaderserviceimpl.java : 138)
-... Panax Notoginseng More 1, my jar package has: 2, the previously used database connection driver package is: 3, Summary: In summary, this problem is generally caused by problems with the imported database connection jar package, possible versions, or other reasons. So the solution is to try another version of t
These two days with a database link pool, there is a problem on my computer to run is very good no problem, but switched to a colleague on the computer on the show "Cannot create JDBC driver of class" for connect URL ' null ' "very depressed, not had finally settled.
My Computer environment: Myeclipse10 +apache-tomcat-6.0.37
Colleague Environment: myeclipse8.5 +a
due to Oracle licensing issues, MAVEN3 does not provide Oracle JDBC driver, In order to apply the Oracle JDBC driver in a MAVEN project, you must manually add it to the local warehouse.
Original posts by
QingyunPublished on 2010-6-21 15:44When writing PL/SQL, there is a very important point of attention;Like what:BeginUpdate a SQL Server table @dblink name ...;Update a table for an oracle ...;EndThis PL/SQL execution will error:The error message is:-----------------------------------------------------------------Execution failed: ORA-02054: Transaction processing 2.12.27634 a pro
Package org.portal.service;Import java.sql.Connection;Import Java.sql.DriverManager;Import Java.sql.ResultSet;Import java.sql.SQLException;Import java.sql.Statement;/*** Test Connection to Oracle database* @author WPC**/ public class Test {Driver, URL, user name, passwordPrivate static final String
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.