Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for supporting multiple databases connection

A database and connection pool technology, applied in electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as inability to cross-platform and low access efficiency

Inactive Publication Date: 2013-04-03
PCI TECH GRP CO LTD
View PDF2 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since there are multiple database manufacturers, the access interfaces of the databases are different. Although Microsoft has implemented a unified interface through odbc, it can only run on the windows platform, and the access efficiency is relatively low, and it cannot be cross-platform.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for supporting multiple databases connection
  • Method for supporting multiple databases connection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0007] The database access standard interface defines basic interface classes such as BaseConnect, BaseQuery and other main base class interfaces, and BaseConnect defines some interfaces for connecting to the database. Such as figure 1 , BaseQuery defines the basic interface for database operations, such as figure 2 . If you need to support a certain database type, you only need to implement the interface method of the base class.

[0008] When coding, according to the configuration of different database types, different database drivers are instantiated to support multiple database types.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for accessing a DBMS (Data base Management System) based on a standard API (application program interface), which realizes the support for multi-database drive. When a program is developed, the scheduling of a standard API port is required to be realized, no any databases are required to pay attention to, and the types of multiple databases can be supported. Currently, the supported databases comprise Sybase, SQL (Structural Query Language) Server, Oracle, ODBC and DB2.

Description

technical field [0001] The invention relates to database access operations, supports commonly used databases such as sybase, oracle, sql server db2 mysql and the like, and can be applied to different industries. Background technique [0002] With the development of information technology and the market, databases are becoming more and more important to all walks of life, and most of the information needs to be stored in the database. Therefore, database storage and reading are often encountered in software development. Since there are many database vendors, the access interfaces of the databases are different. Although Microsoft has implemented a unified interface through odbc, it can only run on the windows platform, and the access efficiency is relatively low, and it cannot be cross-platform. Therefore, it is necessary to develop an efficient, cross-platform, database access interface that supports multiple database drivers. Contents of the invention [0003] The purpos...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/30
Inventor 何健明王向辉邓丛健
Owner PCI TECH GRP CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More