摘要: 此文中的代码主要列出连接数据库的关键代码,其他访问数据库代码省略 1、Oracle8/8i/9i数据库(thin模式) Class.forName("oracle.jdbc.driver.OracleDriver").newInstance(); String url="jdbc:oracle:thin:@localhost:1521:orcl"; //orcl为数据库的SID St... 阅读全文
posted @ 2005-01-22 17:50 小白天地 阅读(660) 评论(0) 推荐(0)