[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
Differences between Classes12.jar,ojdbc14.jar,ojdbc5.jar and Ojdbc6.jar, the difference betweenWhen using the Oracle JDBC driver, are there some problems that you can solve by replacing different versions of the Oracle JDBC driver
Java Oracle thin and OCI connectivity for failover of multiple databasesFirst, Thin wayWhere the URL isjdbc:oracle:thin:@ (description= (Load_balance=on)(Address= (PROTOCOL=TCP) (host=127.0.0.1) (port=1521))(Address= (PROTOCOL=TCP) (host=10.132.111.14) (port=1521))(Connect_data= (SERVICE_NAME=BOMC)))Where load_balance=on means load is on, Java creates session con
Tags: style blog http color java using strong IOhttp://blog.163.com/z_rx/blog/static/276363762011312947507/The Oracle server-side installer finds the file under the corresponding directory "X$\app\administrator\product\11.1.0\db_1\jdbc\lib":JDBC Thin for all platformsOjdbc5.jar-Classes for use with JDK 1.5. It contains
)
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. Driver ");Cn =
Note:This article is excerpted from JDBC Transaction to answer questions and answers from many friends. If you believe that the content of this article has violated your rights and interests, contact the Administrator to modify it.
Several issues to be aware of when Jbuilder correctly connects to oracle 9i
The classes12.jar file should be used as the jdbc
OCI: To install the Oracle client, the portability is slightly poor, the theoretical performance is betterTHIN: Belongs to TYPE4, pure Java implementation, good portability, theoretical performance slightly worseRecommendation: It is best to use thin driver bar, transplant better, use is also relatively standard, the problem is also few. As for performance, to te
Note:This article is excerpted from JDBC Transaction to answer questions and answers from many friends. If you believe that the content of this article has violated your rights and interests, contact the Administrator to modify it.
Several issues to be aware of when Jbuilder correctly connects to oracle 9i
The classes12.jar file should be used as the jdbc
Java database connection (JDBC) is composed of a group of classes and interfaces written in Java programming language. JDBC provides a standard API for tools/database developers to write database applications using pure Java APIs. However, the interfaces of various developers are not exactly the same, so changes in the development environment will bring about certain configuration changes. This document des
Classes12.jar, ojdbc14.jar, ojdbc5.jar, and ojdbc6.jar are different. When using the oracle JDBC driver, are you sure you want to replace the oracle JDBC driver of different versions? The most commonly used ojdbc14.jar has multipl
JDBC driver connection URL
This section describes the connection URL format and how to create connection objects with the drivermanager class.
If you want to use the drivermanager class to create connection objects, you need to know how to make a connection URL that provides access information to the Oracle server. the Or
betweenWhen using the Oracle JDBC driver, are there some problems that you can solve by replacing different versions of the Oracle JDBC driver? There are multiple versions of the most commonly used ojdbc14.jar, and there are mult
Oracle's Oracle ' s Driver (Thin) version 9.0.1, 9.2.0Error condition:Results using database connection pool The times are wrong and say there is no connection pool resource. In fact, the database connection pool is completely idle, and the test is also true, Oracle is also normal to connect, use.Problem Root:Through
Original: Http://www.oracle.com/technetwork/database/enterprise-edition/memory.pdf Introduction
Oracle JDBC drivers may use a large amount of memory. This is a conscious design choice to weigh before using a lot of memory and improving performance. In most cases, this has proven to be a good choice for most users. Some users have experienced a problem with the large amount of memory used by the
Note: This article is the owner from the JDBC transaction version of the vast number of friends to extract the questions and solutions, if you think the content of this article has offended your interests, please contact the administrator to make changes.
JBuilder several issues to be aware of when connecting Oracle 9i correctly
Oracle8 above should all use the Classes12.jar file as
opening the Add Class Library (library), Expand Ojdbc6.jar, Find Oracle.jdbc.driver and expand, find Oracledriver.class and expand, right-click on the expanded. class file to select Copy qualified Name. It is recommended to use the above methods to prevent writing omissions.
2.url is the access path for the database. The meaning of each element is as follows:
JDBC Database Access Protocol
Oracle data volum
. Development Environment
Database management system: one is SqlServer 2000, the other is Oracle 9i, and the other is PostgreSQL9.1
Tomcat execution platform: CentOSx64 + JDK7.0x64 (all 64-bit environment)
2 JDBC driver 2.1 Oracle9i
Oracle officially provides the ojdbc6.jar type 4
application performance. You can further improve the performance by executing the statement pool multiple times during the application running. However, we should realize that the statement pool is not a panacea for solving performance problems. If each statement is cached and the number of times it is executed in the program is not identified, no performance improvement is possible.
In fact, because storing statements in the cache and saving them in the cache results in overhead, caching state
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.