US 12,314,733 B2
Systems and methods for implementing a shim database driver
Vadim Yarovoy, San Francisco, CA (US); Raghavendran Hanumantharau, San Francisco, CA (US); Olga Tikhonova, San Francisco, CA (US); Da Zhao, San Francisco, CA (US); Arundhati Tambe, San Francisco, CA (US); Shruti Sharma, San Jose, CA (US); and Jason Woods, Atlanta, GA (US)
Assigned to Salesforce, Inc., San Francisco, CA (US)
Filed by Salesforce, Inc., San Francisco, CA (US)
Filed on Oct. 5, 2021, as Appl. No. 17/494,615.
Prior Publication US 2023/0110698 A1, Apr. 13, 2023
Int. Cl. G06F 9/445 (2018.01); G06F 9/4401 (2018.01); G06F 9/448 (2018.01); G06F 9/54 (2006.01); G06F 16/17 (2019.01); G06F 16/955 (2019.01)
CPC G06F 9/44505 (2013.01) [G06F 9/4411 (2013.01); G06F 9/547 (2013.01); G06F 16/17 (2019.01); G06F 16/955 (2019.01); G06F 9/44526 (2013.01); G06F 9/449 (2018.02)] 20 Claims
OG exemplary drawing
 
1. A system comprising:
a database system implemented using a server system, the database system configurable to cause:
obtaining, using a configuration file, a first directory path associated with a first directory and a first identifier associated with a first database driver class, the first directory being a hidden directory;
loading a set of classes via a class path, the set of classes including a shim driver class;
instantiating the shim driver class such that a shim driver object is generated, the shim driver object providing a first application programming interface (API);
transmitting, a first request via the first API, the first request having a first argument including the first directory path and a second argument including the first identifier associated with the first database driver class;
obtaining, via the first API, a first database driver corresponding to the first database driver class responsive to calling the first API, the first database driver configurable to implement a first database protocol in association with a database connection, the first database driver exposing a set of APIs including a second API via which a device can request a database operation on a database compatible with the first database protocol;
storing the first database driver in a memory of the system; and
requesting a first database operation in relation to a first database compatible with the first database protocol via the second API, the first database driver configurable to execute a set of computer-readable instructions of the first database driver responsive to processing the request for the first database operation.