Title: ODBCDemo Download
 Description: Java to create and configure the ODBC data source, that is, to create the function of the database connection, the specific implementation, please refer to the following code: private String dbURL = "JDBC: ODBC: example";/ / database identifier name private String user = "Devon";/ / database user private String password = "book";/ / database user password public ODBCDemo () {try {class.forname (" sun. JDBC. Odbc. JdbcOdbcDriver ");/ / load the database driver Connection con = DriverManager. GetConnection (dbURL, user, password);/ / get connected System. The out. Println (con. The getCatalog ());/ / print the name of the database directory System. Out. The println (" connection success ");Con. The close ();/ / close the connection} the catch (Exception ex) {ex. PrintStackTrace ();/ / output error message}}
 To Search:
File list (Click to check if it's the file you need, and recomment it at the bottom):
srcfans.com\Java创建和配置数据源\80-1.bmp 507982 2004-06-08
srcfans.com\Java创建和配置数据源\80-2.bmp 458122 2004-06-08
srcfans.com\Java创建和配置数据源\80-3.bmp 458122 2004-06-08
srcfans.com\Java创建和配置数据源\ODBCDemo.class 1093 2004-07-21
srcfans.com\Java创建和配置数据源\ODBCDemo.java 668 2017-02-04
srcfans.com\Java创建和配置数据源 0 2017-02-04
srcfans.com 0 2017-02-04

DSSZ www.dssz.org