JDBC,MySQL和JDBCProxy联合实现Java数据库  被引量:2

A Java Database Solution Using JDBC, MySQL and JDBCProxy

在线阅读下载全文

作  者:巩康[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.

关 键 词:JDBC MYSQL JDBCProxy 

分 类 号:TP311.13[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象