共查询到20条相似文献,搜索用时 31 毫秒
1.
祁明龙 《计算机技术与发展》2003,13(3)
研究探讨了几种重要的IBM DB2第4类JDBC驱动接口以及利用JNDI命名/目录服务接口,独立存储各驱动接口数据源对象的问题,创建了一个能连接到任一数据库操作系统并从中提取数据的一般性Java类,给出了一个利用该创建类和DataDirect第4类JDBC驱动接口的实例. 相似文献
2.
Java语言是目前广泛使用的网络数据库编程语言,JDBC给数据库应用开发人员提供了一种标准的应用程序设计接口,使数据库开发人员可以用纯Java语言编写完整的数据库应用程序,Java和JDBC结合真正实现一次编写,处处运行。介绍JDBC技术,阐述了JDBC接口技术JDBCAPI和JDBC驱动程序,给出采用JDBC-ODBG桥来实现关系型数据库SQL查询的实现方法。例程中采用Access2000数据库,说明了用JDBC编写访问数据库的一般步骤:加载JDBC-ODBC桥驱动程序;建立与数据库的连接;执行SQL查询语句和处理对数据库的查询结果。所举案例对实际数据库项目的开发有一定的实用价值。 相似文献
3.
4.
文章主要讨论了在嵌入式Windows Mobile平台下用JDBC接口访问嵌入式数据库SQLite的实现方法。论述了开放源代码的SQLite数据库、JDBC驱动管理程序及其工作原理和sqlitejdbc驱动程序在Windows Mobile平台的实现。 相似文献
5.
研究探讨了几种重要的IBMDB2第4类JDBC驱动接口以及利用JNDI命名/上当服务接口,确立存储各驱动接口数据源对象的问题,创建了一个能连接到任一数据库操作系统并从中提取数据的一般性Java类,给出了一个利用该创建类和DataDirect第4类JDBC驱动接口的实例。 相似文献
6.
文章主要讨论了在嵌入式Windows Mobile平台下用JDBC接口访问嵌入式数据库SQLite的实现方法。论述了开放源代码的SQLite数据库,JDBC驱动管理程序及其工作原理和sqlitejdbc驱动程序在Windows Mobile平台的实现。 相似文献
7.
Informix数据库的访问方式研究 总被引:1,自引:0,他引:1
本文介绍了工程中常用的Informix数据库的访问方式及一种在不同关系数据库间互访的通用方式,阐述了Informix-CLI、ODBC、JDBC等接口规范间的关系,并指出了各种访问方式的适用条件。 相似文献
8.
9.
在Matlab开发环境下,采用ODBC、JDBC和ADO三种数据库访问方式,实现了与Oracle数据库的交互功能。给出了访问过程中典型问题的处理方法,解决了MATLAB Database Toolbox无法对LOB型大对象数据进行访问与操作的难题。最后,比较分析了三种访问方式的特点与使用范围,得出结论:ODBC使用简单但访问速度慢且可移植性差;JDBC继承于ODBC,使用与Matlab一致的Java语言风格,支持跨平台作业,可移植性好,且与Matlab的兼容性最好;而ADO比ODBC、JDBC访问速度快,扩展性好,能处理LOB型大对象数据,但Matlab Database Toolbox对ADO不提供函数支持。 相似文献
10.
本文首先介绍了JAVA语言与数据库的接口JDBC的优点与功能,然后重点介绍了如何利用JDBC对数据库进行操作的方法,最后本文给出了下个利用JDBC与ACCESS数据库进行连接的实例。 相似文献
13.
激光打印和LED打印是当今数码打印领域的两大核心技术.二者的不同之处在于光扫描成像过程。目前.普通激光打印技术的光扫描成像过程是将全部数据信号串行传送给一个光发射装置,然后发射出的光线经旋转的多棱镜反射后再成像于感光鼓上。类似于激光打印技术,LED技术的光扫描成像方式则是采用了密集LED阵列为光发射器,数据电信号经LED转化为光信号.并照射到感 相似文献
14.
N. H. Gehani 《Software》1992,22(10):827-848
C does not have exception handling facilities. Errors are handled by examining the value returned by each function and signals (conditions reported to the program) are handled by using library functions. These approaches lead to ad hoc error-handling techniques and can make programs hard to understand. Exceptional C, a superset of C, provides exception handling facilities. Exceptional C integrates the two techniques used by C programmers (i.e., status values and signals) to handle errors into one unified exception handling mechanism. In this paper, I review exception handling models, specify the criteria used for designing the exception handling facilities in Exceptional C, and then describe these facilities. I also illustrate the use of the exception handling facilities with examples. 相似文献
15.
16.
《Science of Computer Programming》2007,68(2):64-78
As software systems become increasingly massive, the advantages of automated transformation tools are clearly evident. These tools allow the machine to both reason about and manipulate high-level source code. They enable off-loading of mundane and laborious programming tasks from human developer to machine, thereby reducing cost and development time frames.Although there has been much work in software transformation, there still exist many hurdles in realizing this technology in a commercial domain. From our own experience, there are two significant problems that must be addressed before transformation technology can be usefully applied in a commercial setting. These are: (1) Avoiding disruption of the style (i.e., layout and commenting) of source code and the introduction of any undesired modifications that can occur as a side effect of the transformation process. (2) Correct automated handling of C preprocessing and the presentation of a semantically correct view of the program during transformation. Many existing automated transformation tools require source to be manually modified so that preprocessing constructs can be parsed. The real semantic of the program remains obscured resulting in the need for complicated analysis during transformation. Many systems also resort to pretty printing to generate transformed programs, which inherently disrupts coding style. In this paper we describe our own C/C++ transformation system, Proteus, that addresses both these issues. It has been tested on millions of lines of commercial C/C++ code and has been shown to meet the stringent criteria laid out by Lucent’s own software developers. 相似文献
17.
As software systems become increasingly massive, the advantages of automated transformation tools are clearly evident. These tools allow the machine to both reason about and manipulate high-level source code. They enable off-loading of mundane and laborious programming tasks from human developer to machine, thereby reducing cost and development timeframes.Although there has been much academic work in software transformation, there still exists many hurdles in realising this technology in a commercial domain. From our own experience, there are two significant problems that must be addressed before transformation technology can be usefully applied in a commercial setting. These are: 1.) avoiding disruption of style (i.e. layout and commenting) and the introduction of any undesired modifications which occur as a side effect of the transformation process. 2.) correct handling of C preprocessing and the presentation of a semantically correct view of the program during transformation. Many existing automated transformation tools inherently disrupt style through the use of pretty printing and the need to perform preprocessing before any transformation. Some also require source to be modified so that it conforms to a subset of the grammar. In this paper we describe our own C/C++ transformation system, Proteus, that is able to meet the stringent criteria laid out by Lucent's own software developers. 相似文献
18.
预处理在C/C 中发挥着重要作用,然而这些预处理功能存在着一些缺陷,例如在头文件包含进来时,无法改变头文件中的内容;代码的重用性不高;大量重复代码等等。本文提出用一种高级配置语言XVCL(XML-basedVariantConfigura-tionLanguage)代替原来的预处理机制,来克服以上提出的问题。文件被组织为树形结构,并定义了利于提高重用性的变量作用域机制。文章通过一个实例来验证本文提出的方法的有效性。 相似文献
19.
伴随着互联网的发展,电子商务逐渐进入我们的经济生活中。作为网络经济的产物,电子商务企业与传统企业在竞争优势上存在巨大差异。面对着日益激烈的竞争,电子商务企业如何保持核心竞争力优势对企业的生存尤为重要。本文聚焦于C2C领域,并以淘宝网为例,尝试从企业核心竞争力的角度诠释电子商务企业与传统企业竞争优势的差异和竞争力培养的着力点。 相似文献
20.
饶伟 《数字社区&智能家居》2006,(8)
通常的C/C 预处理器是一个宏处理器,在编译前自动地把源文件转换为编译器可识别的形式。传统的预处理方法基于文本行替换,没有考虑到具体的上下文环境。这种预处理机制在文件包含、宏作用域、头文件关系上存在着一些缺陷,会影响工程项目代码重用,降低程序的可维护性、可扩展性等。通过从分析c预处理器缺陷出发,并利用FOG[1]及其语言可以得到一种基于元变量和元函数的语法替换机制的解决方案。 相似文献