JDBC Driver for Microsoft Excel Online

Build 22.0.8462

Schemas

The driver exposes worksheets from workbooks as tables. To do so, it exposes the drives containing these workbooks and worksheets as schemas for these tables. How drives are exposed as schemas is dependent on the connection propeties for the driver.

The following connection properties determine what drives are exposed as schemas by the driver. They are listed in order of precedence, where only the most precedent property is used to expose schemas:

  • Drive: Set this to the ID of a specific drive. Only this drive is exposed as schema.
  • SharepointURL: Set this to the browser URL of a SharePoint site. The driver will expose all drives under the site. All of these drives are exposed as schemas.
  • OAuthClientId: If AuthScheme is set to AzureServicePrincipal or if OAuthGrantType is set to CLIENT, the drive associated with your OAuth app will be exposed. Only this drive is exposed as schema.
  • If none of the above are specified, the personal drive for the authenticated user will be used. Only this drive is exposed as schema.

You can use the Drives and SharePointSites views to view all the sites and drives you have access to.

If you would like to filter the schemas the driver exposes, you can use, the BrowsableSchemas connection property. Supply a list of drive names to this property. The filtering is done client-side, so this means that the names supplied should be the names that would normally be returned by the driver for the drives.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462