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
The following error is reported in the Oracle warning log:
ReferenceORA-00600: internal error code, arguments: [ttcgcshnd-1], [0], [], [], [], [], [], [], []Current SQL statement for this session:Select value from NLS_INSTANCE_PARAMETERS where parameter = 'nls _ DATE_FORMAT'
After analysis, this is a bug in connecting JDBC (Thin JDBC
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.
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 Driver = "Oracle.jdb
on http-8080
The error message is that the application registered the JDBC driver, but the driver cannot be deregistered when the program stops. To prevent memory overflow, Tomcat is forcibly deregistered.I found many discussions on this issue on the internet, saying it was a DBCP bug.
The details are as follows:Https://issues.apache.org/jira/browse/DBCP-332
Des
[Database Study Notes] (1) JDBC driver category and Study Notes jdbc
There are several methods for jdbc to load database drivers:
Type 4: Local protocol driver Type 1: jdbc-odbc bridge
What is JDBCJDBC is all called: Java Data Base Connectivity, which is the Java API that can execute SQL statementsWhy are we using JDBC?
There are a lot of databases on the market, originally we need to learn from different databases of different api,sun companies in order to simplify this operation, defined the JDBC API "interface"
Sun only provided the JD
server using the Type 4 driver architecture. In DB2 V8.1.2, you can use this driver in the Type 2 architecture. One of the main reasons for using this driver in the Type 2 architecture is for local application performance and distributed transaction support. The Universal JDBC Type 2
)
Postgres
Http://jdbc.postgresql.org/download.htmlIncluded 7.3 JDBC 3
SAP DB
Http://www.sapdb.org/sap_db_jdbc.htmIncluded.
SyBase by jTDS
Http://jtds.sourceforge.net/Included. Support Sybase (10, 11, 12)
The following content is from the Internet1. MySQL (http://www.mysql.com) mysql-connector-java-2.0.14-bin.jar;Class. forName ("org. gjt. mm. mysql.
From: http://miaoxiaodong78.blog.163.com/blog/static/1876513620061161412821/
This article starts from Java. SQL. driver Interface, Java. SQL. the drivemanager class and other open source database driver classes discuss the entire process of driver loading in JDBC and how the
in OJDBC-------------------------------------------------------------------------------Oracle JDBC Driver version 10.2 released with Oracle 10.2The Classes12.jar is available for JDK 1.2 and JDK 1.3.Ojdbc14.jar for JDK 1.4 and 5.0_g.jar just compiles with javac-g, generates all the debugging information, all the rest.
JDBC series tutorial (ii) --- driver settings
DrivermanagerThis overview is taken from jdbctm database access from javatm: a tutorial and annotated reference. It is being compiled by mongooft. This book is both a JDBC tutorial and an authoritative reference manual, which will be published by Addison-Wesley in the spring of 1997 as part of the Java series.
3.1
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.