Method and apparatus for configuring a data source name (DSN) for use during a data source access
First Claim
Patent Images
1. A method, comprising:
- providing an identifier that identifies a data source, the identifier comprising an identifier of a class of the data source, and at least one of a library or an application of the data source that implements a driver interface to access the data source;
using the identifier, by a driver executing on a computer, to access an implementation of the driver interface of the data source;
providing control to the implementation, by the driver, to access connection settings;
generating, by the implementation of the driver interface, a connection string based at least on the connection settings;
receiving, by the driver executing on the computer, the connection string with the identifier from the implementation of the driver interface to the driver; and
forwarding the connection string from the driver to a driver manager managing a client;
wherein the library or application is component object model (COM)-based.
0 Assignments
0 Petitions
Accused Products
Abstract
Certain aspects of the present disclosure relate to a technique to configure a data source name (DSN) for use during a data source access. A driver is selected. An identifier is provided that identifies a class, and a library or an application that implements a driver interface for accessing the data source. A connection string is forwarded with the identifier from an implementation of the driver interface to the driver. The connection string is forwarded from the driver to a driver manager managing a client.
-
Citations
20 Claims
-
1. A method, comprising:
-
providing an identifier that identifies a data source, the identifier comprising an identifier of a class of the data source, and at least one of a library or an application of the data source that implements a driver interface to access the data source; using the identifier, by a driver executing on a computer, to access an implementation of the driver interface of the data source; providing control to the implementation, by the driver, to access connection settings; generating, by the implementation of the driver interface, a connection string based at least on the connection settings; receiving, by the driver executing on the computer, the connection string with the identifier from the implementation of the driver interface to the driver; and forwarding the connection string from the driver to a driver manager managing a client; wherein the library or application is component object model (COM)-based. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An apparatus, comprising:
-
a memory comprising instructions; and
coupled to the at least one processorat least one processor, communicably coupled to the memory, and configured to read the instructions to; provide an identifier that identifies a data source, the identifier comprising an identifier of a class of the data source, and at least one of a library or an application of the data source that implements a driver interface to access the data source; use the identifier to access an implementation of the driver interface of the data source; provide control to the implementation, by the driver, to access connection settings; generate, by the implementation of the driver interface, a connection string based at least on the connection settings; receive the connection string with the identifier from the implementation of the driver interface to a driver; and forward the connection string from the driver to a driver manager which manages a client; wherein the library or application is component object model (COM)-based. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A non-transitory computer-readable medium comprising code executable by at least one processor that, when executed, causes the at least one processor to:
-
provide an identifier that identifies a data source, the identifier comprising an identifier of a class of the data source, and at least one of a library or an application of the data source that implements a driver interface to access the data source; provide control to the implementation, by the driver, to access connection settings; generate, by the implementation of the driver interface, a connection string based at least on the connection settings; receive the connection string with the identifier from an implementation of the driver interface to a driver; and forward the connection string from the driver to a driver manager managing a client; wherein the library or application is component object model (COM)-based. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification