Method for accessing object linking-embedding database data via JAVA database connectivity
First Claim
Patent Images
1. A method for enabling a Java application, that is a client of a JDBC driver, to access data from an object linking-embedding database (OLE DB) via utilization of a Java Database Connectivity (JDBC) interface, comprising the steps of:
- (a) initiating a Java application to contact said Java Database Connectivity (JDBC) driver;
(b) bridging, by said JDBC driver, to an OLE DB data provider, to provide a JDBC interface between said JDBC driver and said OLE DB database, wherein said bridging step includes the steps of;
(b1) providing a series of Java classes that implement said JDBC interface;
(b2) implementing a Datalink Library in C++ for said Java classes to act as an OLE DB client for said OLD DB data provider; and
(b3) connecting said Java classes to said OLE DB client to enable utilization of said OLE DB data provider.
13 Assignments
0 Petitions
Accused Products
Abstract
A method for enabling database access to an OLE DB compatible database by a client using a JAVA JDBC Application Program Interface. A JDBC Driver program provides a bridging functionality between the using JDBC client and the OLE DB database.
-
Citations
17 Claims
-
1. A method for enabling a Java application, that is a client of a JDBC driver, to access data from an object linking-embedding database (OLE DB) via utilization of a Java Database Connectivity (JDBC) interface, comprising the steps of:
-
(a) initiating a Java application to contact said Java Database Connectivity (JDBC) driver; (b) bridging, by said JDBC driver, to an OLE DB data provider, to provide a JDBC interface between said JDBC driver and said OLE DB database, wherein said bridging step includes the steps of; (b1) providing a series of Java classes that implement said JDBC interface; (b2) implementing a Datalink Library in C++ for said Java classes to act as an OLE DB client for said OLD DB data provider; and (b3) connecting said Java classes to said OLE DB client to enable utilization of said OLE DB data provider.
-
-
2. A method for enabling a Java application acting as a JDBC Driver client to access an OLE DB database having OLE DB objects, by utilization of a standard Java Database Connectivity (JDBC) API interface, comprising the steps of:
-
(a) establishing, for each interface in said JDBC API interface, a corresponding Java class including Java objects and a corresponding C++ class including C++ objects; (b) maintaining in each Java object of said Java class, a reference to its corresponding C++ object in said C++ class; (c) maintaining in each C++ object a reference to the OLE DB object which most closely matches the functionality of said JDBC API interface; (d) passing, by said C++ object, a database query to said OLE DB database via an OLE DB data provider holding an OLE DB Command Object; (e) connecting to said OLE DB database to garner a response to said database query; and (f) returning said response to said Java application.
-
-
3. A system utilizing a Java JDBC API application specification which is the Java platform standard call level API for database access designated core JDBC 2.1 API by Sun Microsystems, and also utilizing an OLE DB API Specification which is a Microsoft statement for Microsoft Data Access Components of which OLE DB (Object Linking and Embedding Database) is one collection of COM objects that encapsulate database management system services for various servers and data providers and has four OLE DB objects which are DataSource, Session, Command, and Rowset, said system for enabling a client utilizing a Java JDBC API application to access an OLE DB database which is designed for communication with OLE DB-type interfaces comprising:
-
(a) JDBC Driver means that utilizes JDBC API Java standards and performs a bridge interface operation between a Java JDBC API application and an OLE DB data provider which implements said OLE DB API specification, wherein said JDBC Driver means includes; (a1) a series of JDBC API interfaces wherein each said JDBC API interface contains a Java class holding including Java objects and a corresponding C++ class having C++ object; (a2) means to maintain a reference between each java object and its corresponding C++ object; (a3) means to maintain a reference between each C++ object and the particular OLE DB object which most closely matches the functionality of the JDBC API interface; and (b) means to pass an OLE DB database query initiated by said Java JDBC API application as a client to a database organized for OLE DB API clients and receive a response to said OLE DB database query, wherein the response is in a format suitable for said Java JDBC API application. - View Dependent Claims (4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
Specification