JDBC数据库连接字符串整理

2011-04-20 13:11:10|?次阅读|上传:huigezrx【已有?条评论】发表评论

关键词:Java, 数据库|来源:唯设编程网

==================附加====================== 
IBM AS400主机在用的JDBC语法 
Class.forName("com.ibm.as400.access.AS400JDBCConnection");
Connection con = DriverManager.getConnection("jdbc:as400://IP","user","passwor");

Sapdb 
Class.forName("com.sap.dbtech.jdbc.DriverSapDB");
Connection con = DriverManager.getConnection("jdbc:sapdb://host:port/DB_NAME","user","passwor");

Progress 
Class.forName("com.progress.sql.jdbc.JdbcProgressDriver");
Connection con = DriverManager.getConnection("jdbc:JdbcProgress:T:dbserver:3305:liveappl","user","passwor");

Mimer SQL Local 
Class.forName("com.mimer.jdbc.Driver");
Connection con = DriverManager.getConnection("jdbc:mimer:multi1","user","passwor");

Altibase 
内存数据库
Class.forName("Altibase.jdbc.driver.AltibaseDriver");
Connection con = DriverManager.getConnection("jdbc:Altibase://host:port/dbname","user","passwor");

solid DB 
上面还有这个有没有印象呀,如果持续关注我的文章的话,在我讲Timesten提到过这两个,还有一个eXtremeDB没有JDBC的支持
Class.forName("solid.jdbc.SolidDriver");
Connection con = DriverManager.getConnection("jdbc:solid://yourdbhost:1964/yourdbusername/yourdbpassword");

<12>
发表评论0条 】
网友评论(共?条评论)..
JDBC数据库连接字符串整理