]View Plaincopyprint?
mvn deploy:deploy-file-dgroupid=com. Cloudhopper.proxool-dartifactid=Proxool-dversion=0. 9.1-dpackaging=Jar-dfile=Proxool-0.9.1.jar-durl=http://172.16.68.3
To the local repository: specific results (my local warehouse is configured, configured as: D:\mysystem\Repositories\, default warehouse not this): putThen add the following configuration to the project:Maven Code
Finally, the
Tags: database jdbc DriverODBC DriverSun.jdbc.odbc.JdbcOdbcDriverJdbc:odbc:nameConnecting to the DB2 database with COM.ibm.db2.jdbc.net.DB2DriverAn example of a DB2 URL:Jdbc:db2://aserver.mycompany.com:50002/nameConnecting to the Sybase database with Com.sybase.jdbc.SybDriverAn example of a Sybase URL:jdbc:sybase:tds:aserver.mycompany.com:2025MySQL DriverCom.mysql.jdbc.DriverJdbc:mysql://hostname:3306/dbname?useunicode=trueamp;characterencoding=gbkMic
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 driver) to Oracle. When the
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, and execute the command
Mvn install: insta
The driver packages from Oracle8 to ORACLE10,JDBC directories are different. Look at Oracle's documentation, understand their use, I believe you are sometimes very confused, write to share.
These are the names of the driver packages under oracle10g and their role, and other versions of Oracle are basically similar.
Classes12.jar (1,417,089 bytes)-Use under JDK 1.
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 website: http://www.oracle.com/technetwork/database/features/
Com. IBM. db2.jdbc. db2exception: [IBM] [CLI driver] [DB2/NT] sql0911n has rolled back the current transaction due to a deadlock or timeout. Cause code "2 ". Sqlstate = 40001
Solutions provided by IBM for this problem
This problem may be caused by the DB2 deadlock caused by the application, especially when accessing the DB2 data source, an error similar to the following occurs:
Error code:-911 com. IBM. db2
Label:There is no JDBC driver for SQL Server in http://search.maven.org/, so you need to install the SQLJDBC jar package locally, and then introduce it in the POM Step 1 Download SQLJDBC jar package on Microsoft website: http://www.microsoft.com/en-us/download/details.aspx?displaylang=enid=11774 This download has 4.0 version Space download Connection Sharing: Https://yunpan.cn/cv3TjJqDZM7zu access password
Today, the code appeared no suitable driver found for jdbc, but also searched the online information, basically said the following questions:One is: There was a problem with the connection URL format (Connection conn=drivermanager.getconnection ("Jdbc:mysql://localhost:3306/xx", "root", "XXXX")The second is: drive string error (Com.mysql.jdbc.Driver)The third is: the classpath did not add the appropriate MY
Tags: technology pc UIL load add JDBC Programming eclips latestIt is necessary to connect to the database when using JDBC programming, import the jar package is necessary, import the other Jar package method is same, the import method isOpen Eclipse1. Right-click the project to import the jar package, click Properties2. Choose Java build path on the left and select libraries on the right.3. Select Add Exter
From the sourceD:\Javasoftware\MySql\mysql\mysql-connector-java-5.1.7\src\com\mysql\jdbc\driver.javaClass.forName ();Static code block for Driver.javastatic {try {JAva.sql.DriverManager.registerDriver (New Driver ());} catch (SQLException E) {throw new RuntimeException ("Can ' t Register driver!");}}A static block of code is executed first when entering the virtu
Drivers and JDBC URLs for commonly used databases:
Oracle Database:
Driver Package Name: Ojdbc14.jar
Name of the driver class: Oracle.jdbc.driver.OracleDriver
JDBC url:jdbc:oracle:thin:@ Dbip:port:databasename
Description: Driver package name may be changed
The black f
I have not used Mysql for a long time. Yesterday, my friend had no problem with running a small project on my machine, but reported an internal server error (500) on his machine ), using QQ for Remote Assistance (too slow), it took me half a day to finally find the reason because Mysql5 was used on a friend's machine and the Connector/J 3.0 was used as the driver, finally, switch to the Connector/J 3.1 Driver
Before, also encountered such a problem, let me tangled up long time. Finally the solution was finally tried out.We downloaded sub-folders under the Sqljdbc4.0 folder in JDBC 4.0 CHS with two jar files, Sqljdbc.jar and Sqljdbc4.jar. We follow the online blog, when the configuration to establish the data connection, add is Sqljdbc.jar this jar file, so there will be such a problem. Instead, you should add Sqljdbc4.jar. That would not have been the case
Label:0 from the server.Today the operation of the database large database access to the problem, is roughly the database connection buffer pool problem, get a half-day of MySQL (Ubuntu).Workaround:(1) using the AutoReConnect attribute in the JDBC URL, the URL is addedautoreconnect=truefailoverreadonly=falseFor example:String URL = "Jdbc:mysql://localhost:3306/mxmanageautoreconnect=truefailoverreadonly=false";(2) Modify the MySQL parameters. /ETC/MY.
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.