摘要
JDBC是Java平台的一个标准组成部分,是独立于数据库的跨平台的数据库访问的重要技术基础.本文在剖析了JDBC的体系结构、工作机制及其四类驱动程序的性能特点的基础上,研究了JDBC数据库访问的一般算法,探讨了基于JDBC的数据事务控制方法,并设计了相应的数据库访问操作和事务控制的程序模板.最后对JDBC与ODBC的差异进了分析比较.
<Abstrcat> JDBC is a standard member of the Java platform which is a important technique base of database access of database-independent and spanning platform. In this paper, the architecture and work mechanism of JDBC and the performance feature on four kinds of JDBC driver are analyzed at first, then, the common algorithm of JDBC database access is researched, the control method of data transaction is probed into, and the program template of database access and transaction control is designed. At last, the difference is compared between JDBC and ODBC.
出处
《南华大学学报(自然科学版)》
2005年第2期50-54,57,共6页
Journal of University of South China:Science and Technology
基金
湖南人文科技学院科研基金资助项目(NO.2004B009)