检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:巩康[1]
机构地区:[1]天津工业大学,天津300160
出 处:《电脑编程技巧与维护》2010年第10期59-59,112,共2页Computer Programming Skills & Maintenance
摘 要:JDBC作为Java数据库操作的基础,占有重要的应用地位。通过DriverManager类可以建立数据库连接,使用Statement类型可以完成数据库基本访问,CallableStatement实现存储过程的调用。JDBCProxy可以理解为JDBC代理,是一个开源的JDBC项目,其架构在JDBC Driver之上,能够记录一个Java应用的数据库访问过程,并将这个过程重现,辅助程序测试。通过实例讨论了JDBC对MySQL数据库的操作方法和JDBCProxy的工作过程。JDBC is the most important approach in Java database applications.Programmers establish a database connection through the DriverManager class and implement the basic database operations using the Statement class.The CallableStatement is the key class to call the storage procedure.JDBCProxy is a JDBC agent from an open source JDBC project.Based on the JDBC Driver,JDBCProxy records the database access process.This paper shows MySQL database JDBC operations and JDBCProxy working process by some examples.
分 类 号:TP311.13[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.7