首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于Hashtable的数据库操作方法探讨
引用本文:游中胜.基于Hashtable的数据库操作方法探讨[J].重庆师范大学学报(自然科学版),2006,23(1):19-21.
作者姓名:游中胜
作者单位:重庆师范大学数学与计算机科学学院 重庆400047
摘    要:数据库查询操作是W eb数据库应用程序开发中常见的一种操作,传统的处理方式是在W eb应用程序(如JSP)中采用java.sq l包中提供的操作数据库的类来操作数据库对象,但这种操作在资源未释放的情况下有可能导致一些严重的例外产生。通过设计Hashtab le来作为W eb应用程序和数据库结果集的一个中间层,然后在W eb应用程序中解析Hashtab le,从而回避了数据库对象在WEB应用程序中的操作及其可能产生的其它问题。

关 键 词:Hashtable  Java  数据库

Operating Methods of Accessing Database Based on Hashtable
YOU Zhong-sheng.Operating Methods of Accessing Database Based on Hashtable[J].Journal of Chongqing Normal University:Natural Science Edition,2006,23(1):19-21.
Authors:YOU Zhong-sheng
Abstract:Web searching is a common operation in application sequence for web database.The traditional method is that in web application,use java.sql package which provides class to operate dababase.But this way may create vital error because at the moment the resources has not been released.Employ hashtable as a middle layer for the result of web and data application,then in the web application sequence resolve hashtable these problems can be avoided.
Keywords:hashtable  Java  database  
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号