![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
oracle
文章平均质量分 74
chenshoucang_china
这个作者很懒,什么都没留下…
展开
-
oracle与java的连接方法1
package com.db.dbHelp; import java.sql.*; public class DBAccess { String sDBDriver = "oracle.jdbc.driver.OracleDriver"; String url = "jdbc:oracle:thin:@localhost:1521:xdf"; String sHint = ""; Re转载 2013-03-18 13:13:57 · 319 阅读 · 0 评论 -
oracle与java的连接2
1.数据源连接,要新建数据源TestDataBase package com.shenjun; import java.sql.*; public class conn { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub try{原创 2013-03-18 13:15:40 · 292 阅读 · 0 评论 -
oracle与java的连接3
import java.sql.*; public class PrepStmt{ public static void main(String[] args){ try{ new oracle.jdbc.driver.OracleDriver(); String url = "jdbc:oracle:thin:@localhost:1521:ora8"; Connecti转载 2013-03-18 13:16:25 · 284 阅读 · 0 评论 -
java连接oracle prepare
import java.sql.*; public class ConnectDB { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub //int id = 23;原创 2013-03-18 13:18:01 · 490 阅读 · 0 评论