MySQL(http://www.mysql.com)mm.mysql-2.0.2-bin.jar
Class.forName( "org.gjt.mm.mysql.Driver" );
cn = DriverManager.getConnection( "jdbc:mysql://MyDbComputerNameOrIP:3306/myDatabaseName", sUsr, sPwd );
2. PostgreSQL(http://www.de.postgresql.org)pgjdbc2.jar
Class.forName( "org.postgresql.Driver" );
cn = DriverManager.getConnection( "jdbc:postgresql://MyDbComputerNameOrIP/myDatabaseName", sUsr, sPwd );
3. Oracle(http://www.oracle.com/ip/deploy/database/oracle9i/)classes12.zip
Class.forName( "oracle.jdbc.driver.OracleDriver" );
cn = DriverManager.getConnection( "jdbc:oracle:thin:@MyDbComputerNameOrIP:1521:ORCL", sUsr, sPwd );
4. Sybase(http://jtds.sourceforge.net)jconn2.jar
Class.forName( "com.sybase.jdbc2.jdbc.SybDriver" );
cn = DriverManager.getConnection( "jdbc:sybase:Tds:MyDbComputerNameOrIP:2638", sUsr, sPwd );
//(Default-Username/Password: "dba"/"sql")
5. Microsoft SQLServer(http://jtds.sourceforge.net)
Class.forName( "net.sourceforge.jtds.jdbc.Driver" );
cn = DriverManager.getConnection( "jdbc:jtds:sqlserver://MyDbComputerNameOrIP:1433/master", sUsr, sPwd );
6. Microsoft SQLServer(http://www.microsoft.com)
Class.forName( "com.microsoft.jdbc.sqlserver.SQLServerDriver" );
cn = DriverManager.getConnection( "jdbc:microsoft:sqlserver://MyDbComputerNameOrIP:1433;databaseName=master", sUsr, sPwd );
7. ODBC
Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" );
Connection cn = DriverManager.getConnection( "jdbc:odbc:" + sDsn, sUsr, sPwd );
8.DB2
Class.forName("Com.ibm.db2.jdbc.net.DB2Driver");
String url="jdbc:db2://192.9.200.108:6789/SAMPLE"
cn = DriverManager.getConnection( url, sUsr, sPwd );
分享到:
相关推荐
matlab代码输入如何换行符utl_sort_transpose_and_summarize_in_one_proc_v2 在一个过程中对转置和汇总进行排序。 关键字:sas sql join合并大数据分析宏oracle teradata mysql sas社区stackoverflow statistics人工...
Java-Summarize Java核心知识点整理(包括Java基础、JVM、数据库、计算机网络、算法、操作系统、设计模式、系统设计、框架原理)
A side effect is that there are lots of lists, tables and bullet points but they are well structured and succinctly summarize the key points. ...an excellent reference text. Extensive appendices (130...
This book is our attempt to summarize the state-of-the-art of iterative channel coding. Two other popular names which describe the same area are probabilistic coding and codes on graphs. Iterative ...
This series aims to capture new developments and summarize what is known over the entire spectrum of mathematical and computational biology and medicine. It seeks to encourage the integration of ...
Learn to automate pivot tables to summarize, analyze, explore, and present data Use custom dialog boxes to collect data from others using Excel Improve the reliability and resiliency of your macros ...
1. Summarize UEFI drivers’ attribute, functions, and contents 2. Compare and contrast drivers and applications 3. Define UEFI protocols and explain their properties 4. Outline the UEFI driver design ...
summarize, 简单文本摘要的python 库 总结简单文本摘要的python 库安装首先安装nltk和 numpy:sudo pip install nltksudo pip install numpy然后安装punkt和 stopwords nltk
Wherever possible, concepts are introduced by means of figures that summarize the main ideas in a single snapshot. These are supplemented by real-world interactive dialogs that clarify what is going ...
Learning to summarize from human feedback
eslint-tool-summarize 生成.eslintrc配置文件中使用的的摘要。 $ npm install eslint-tool-summarize -g 用法 命令行 确保模块是全局安装的。 $ eslint-tool-summarize -c ./.eslintrc -o ./output.html $ ...
1. Summarize the DXE phase and its purpose, functions, properties, attributes, and components * Identify the responsibilities of the DXE phase 2. Describe events and their role in the DXE phase 3. ...
We discover and summarize the most common problems and derive the solutions; not just a short answer and screenshot, but a systematic, logical derivation, that is, how we got to the solution. After ...
We discover and summarize the most common problems and derive the solutions; not just a short answer and screenshot, but a systematic, logical derivation, that is, how we got to the solution. After ...
In this book, I describe the concepts behind scripting languages, summarize solutions available to Java developers, and explore use cases and design patterns for applying scripting languages in Java ...
This series aims to capture new developments and summarize what is known over the entire spectrum of mathematical and computational biology and medicine. It seeks to encourage the integration of ...
text_summarize 进行中
The author explains the underlying structure and the language constructs that are commonly used to express opinions and sentiments and presents computational methods to analyze and summarize opinions...
Summarize and group data to show overall trends, with aggregations and analytics Use geo-points and geo-shapes—Elasticsearch’s approaches to geolocation Model your data to take advantage of Elastic...
scroll, sort, filter and summarize a table; and convert a table to a data range Table of Contents Lesson 1: Entering, Validating, Sorting, Filtering and Outlining a Data Range Lesson 2: Defining and ...