Business b-ridge Connector for CData Sync

Build 23.0.8839
  • Business b-ridge
    • Establishing a Connection
    • Advanced Features
      • SSL Configuration
      • Firewall and Proxy
    • Data Model
      • Tables
        • CDATA
        • CDATA_Contents
      • Views
        • ContentVersions
        • Users
      • Data Type Mapping
    • Connection String Options
      • Authentication
        • CompanyKey
        • SubscriptionKey
        • ProjectKey
        • URL
      • SSL
        • SSLServerCert
      • Firewall
        • FirewallType
        • FirewallServer
        • FirewallPort
        • FirewallUser
        • FirewallPassword
      • Proxy
        • ProxyAutoDetect
        • ProxyServer
        • ProxyPort
        • ProxyAuthScheme
        • ProxyUser
        • ProxyPassword
        • ProxySSLType
        • ProxyExceptions
      • Logging
        • LogModules
      • Schema
        • Location
        • BrowsableSchemas
        • Tables
        • Views
      • Miscellaneous
        • AllowNonKeyColumnInWhereClause
        • MaxRows
        • Other
        • Pagesize
        • PollingInterval
        • PseudoColumns
        • QueryTimeout
        • Timeout
        • UserDefinedViews
        • UseSandbox

Business b-ridge Connector for CData Sync

Overview

The CData Sync App provides a straightforward way to continuously pipeline your Business b-ridge data to any database, data lake, or data warehouse, making it easily available for Analytics, Reporting, AI, and Machine Learning.

The Business b-ridge connector can be used from the CData Sync application to pull data from Business b-ridge and move it to any of the supported destinations.

Business b-ridge Version Support

The Sync App leverages the Businessbridge API to enable bidirectional access to Businessbridge.

Business b-ridge Connector for CData Sync

Establishing a Connection

Adding a Connection to Business b-ridge

To add a connection to Business b-ridge:

  1. In the application console, navigate to the Connections page.
  2. At the Add Connections panel, select the icon for the connection you want to add.
  3. If the Business b-ridge icon is not available, click the Add More icon to download and install the Business b-ridge connector from the CData site.

For required properties, see the Settings tab.

For connection properties that are not typically required, see the Advanced tab.

Before You Connect

Subscription Key

To obtain the SubscriptionKey, follow the steps below:

  • Log in to Business b-ridge API Protal and go to Profile in the Your name menu.
  • In your subscription section, click Main Key to retrieve the key. You will later set this key value in the SubscriptionKey connection property.

Connecting to Business b-ridge

Set the following connection properties to connect:

  • CompanyKey: Set this to the Business b-ridge Company Key.
  • ProjectKey: Set this to the Business b-ridge Project Key.
  • SubscriptionKey: Set this to the noted subscription key.

Business b-ridge Connector for CData Sync

Advanced Features

This section details a selection of advanced features of the Business b-ridge Sync App.

User Defined Views

The Sync App allows you to define virtual tables, called user defined views, whose contents are decided by a pre-configured query. These views are useful when you cannot directly control queries being issued to the drivers. See User Defined Views for an overview of creating and configuring custom views.

SSL Configuration

Use SSL Configuration to adjust how Sync App handles TLS/SSL certificate negotiations. You can choose from various certificate formats; see the SSLServerCert property under "Connection String Options" for more information.

Firewall and Proxy

Configure the Sync App for compliance with Firewall and Proxy, including Windows proxies and HTTP proxies. You can also set up tunnel connections.

Query Processing

The Sync App offloads as much of the SELECT statement processing as possible to Business b-ridge and then processes the rest of the query in memory (client-side).

See Query Processing for more information.

Logging

See Logging for an overview of configuration settings that can be used to refine CData logging. For basic logging, you only need to set two connection properties, but there are numerous features that support more refined logging, where you can select subsets of information to be logged using the LogModules connection property.

Business b-ridge Connector for CData Sync

SSL Configuration

Customizing the SSL Configuration

By default, the Sync App attempts to negotiate SSL/TLS by checking the server's certificate against the system's trusted certificate store.

To specify another certificate, see the SSLServerCert property for the available formats to do so.

Business b-ridge Connector for CData Sync

Firewall and Proxy

Connecting Through a Firewall or Proxy

HTTP Proxies

To connect through the Windows system proxy, you do not need to set any additional connection properties. To connect to other proxies, set ProxyAutoDetect to false.

In addition, to authenticate to an HTTP proxy, set ProxyAuthScheme, ProxyUser, and ProxyPassword, in addition to ProxyServer and ProxyPort.

Other Proxies

Set the following properties:

  • To use a proxy-based firewall, set FirewallType, FirewallServer, and FirewallPort.
  • To tunnel the connection, set FirewallType to TUNNEL.
  • To authenticate, specify FirewallUser and FirewallPassword.
  • To authenticate to a SOCKS proxy, additionally set FirewallType to SOCKS5.

Business b-ridge Connector for CData Sync

Data Model

Overview

This section shows the available API objects and provides more information on executing SQL to Business b-ridge APIs.

Key Features

  • The Sync App models Business b-ridge entities like documents, folders, and groups as relational views, allowing you to write SQL to query Business b-ridge data.
  • Stored procedures allow you to execute operations to Business b-ridge
  • Live connectivity to these objects means any changes to your Business b-ridge account are immediately reflected when using the Sync App.

Views

Views describes the available views. Views are statically defined to model ContentVersions and Users.

Tables

The Sync App exposes Tables from Business b-ridge. For every table, Sync App will autogenerate a child table named TableName_Contents for exposing information of contents of that table. For example if table name is CDATA, autogenerated child table name would be CDATA_Contents. Almost very table supports INSERT, UPDATE, DELETE, BULKINSERT, BULKUPDATE AND BULKDELETE operations.

Stored Procedures

Stored Procedures are function-like interfaces to Business b-ridge. Stored procedures allow you to execute operations to Business b-ridge, including downloading documents and moving envelopes.

Business b-ridge Connector for CData Sync

Tables

The Sync App models the data in Business b-ridge as a list of tables in a relational database that can be queried using standard SQL statements.

Business b-ridge Connector for CData Sync Tables

Name Description
CDATA Query information regarding CDATA table.
CDATA_Contents Query information regarding CDATA_Contents table.

Business b-ridge Connector for CData Sync

CDATA

Query information regarding CDATA table.

Select

The Sync App will use the Business b-ridge API to process WHERE clause conditions and selected columns. Operators: =, !=,

, >, <, >=, <=, AND, OR, CONTAINS are processed server-side. For example, the following queries are processed server side:

SELECT * FROM CDATA WHERE CreateDate < '2020-02-14 00:13:57.5'

SELECT * FROM CDATA WHERE (CONTAINS (SampleColumn002, 'b-ri') AND SampleColumn001 = 'ADO') OR SampleColumn001 = 'JDBC'")

SELECT * FROM CDATA WHERE (SampleColumn002 > 2 OR SampleColumn002 = 5) AND (SampleColumn001 = 'M2' OR SampleColumn001 != 'M5') OR ItemId = '0205a94cd35f2a25025b5be9d7c4fc15'

In order to query parent-child relationship specify ParentTableName and ParentItemId.

SELECT * FROM Drivers WHERE ParentTableName = 'CDATA' AND ParentItemId = '3b47216073e89641b718ef07cb1f80a8'

Insert

Columns other than ItemId are required for a successful insert.

INSERT INTO CDATA (SampleColumn002, SampleColumn003, StructureId) VALUES ('Businessbridge', 'JDBC', '2ef8217323d0d25632dbcd2a8dbca')

For inserting a record as a child to another record, you have to specify ParentTableName and ParentItemId colums.

INSERT INTO Drivers (SampleColumn002, SampleColumn003, ParentTableName, ParentItemId) VALUES ('Businessbridge', 'Excel', 'CDATA', 3b47216073e89641b718ef07cb1f80a8)

Update

All columns with readOnly= false can be updated.

UPDATE CDATA SET SampleColumn002 = 'Businessbridge' WHERE ItemId = '0d6fd6470c1cf8e8bc96bc74b528d502'

Delete

Records can be deleted by providing the ItemId.

DELETE FROM CDATA WHERE ItemId = '93147a976bbe4dfa9f1949e78883395c'

Bulk Insert


INSERT INTO CDATA#TEMP (SampleColumn002, SampleColumn003, StructureId) VALUES ('Businessbridge', 'JDBC', '2ef82173227e3d0d25632dbcd2a8dbca')
INSERT INTO CDATA#TEMP (SampleColumn002, SampleColumn003, StructureId) VALUES ('Businessbridge', 'ADO', '2ef82173227e3d0d25632dbcd2a8dbca')
INSERT INTO CDATA (SampleColumn002, SampleColumn003, StructureId) SELECT SampleColumn002, SampleColumn003, StructureId FROM CDATA#TEMP

Bulk Update


INSERT INTO CDATA#TEMP (ItemId, SampleColumn002, SampleColumn003) VALUES ('36d1ad5f385d44259f264cfffdc9f9c9', 'Businessbridge', 'JDBC')
INSERT INTO CDATA#TEMP (ItemId, SampleColumn002, SampleColumn003) VALUES ('36d1ad5f385d44259f264cfffdc9f9c9', 'Businessbridge', 'ADO')
UPDATE CDATA (ItemId, SampleColumn002, SampleColumn003) SELECT ItemId, SampleColumn002, SampleColumn003 FROM CDATA#TEMP

Bulk Delete


INSERT INTO CDATA#TEMP (ItemId) VALUES (ff5e9e7782e74a189aeac478e64cd5a0)
INSERT INTO CDATA#TEMP (ItemId) VALUES (fed05ded8d504f0cb8da441c9dfdbc96)
INSERT INTO CDATA#TEMP (ItemId) VALUES (343434343434r234r3reedfsdfw23ere)
DELETE FROM CDATA WHERE EXISTS SELECT ItemId FROM CDATA#TEMP

Columns

Name Type ReadOnly Description
ItemId [KEY] String False

SampleColumn001 String False

SampleColumn002 String False

SampleColumn003 String False

SampleColumn004 String False

SampleColumn005 String False

SampleColumn006 String False

SampleColumn007 String False

SampleColumn008 String False

SampleColumn009 String False

SampleColumn010 String False

SampleColumn011 String False

SampleColumn012 String False

SampleColumn013 String False

SampleColumn014 String False

SampleColumn015 String False

SampleColumn016 String False

SampleColumn017 String False

SampleColumn018 String False

SampleColumn019 String False

SampleColumn020 String False

SampleColumn021 String False

SampleColumn022 String False

SampleColumn023 String False

SampleColumn024 String False

SampleColumn025 String False

SampleColumn026 String False

SampleColumn027 String False

SampleColumn028 String False

SampleColumn029 String False

SampleColumn030 String False

SampleColumn031 String False

SampleColumn032 String False

SampleColumn033 String False

SampleColumn034 String False

SampleColumn035 String False

SampleColumn036 String False

SampleColumn037 String False

SampleColumn038 String False

SampleColumn039 String False

SampleColumn040 String False

SampleColumn041 String False

SampleColumn042 String False

SampleColumn043 String False

SampleColumn044 String False

SampleColumn045 String False

SampleColumn046 String False

SampleColumn047 String False

SampleColumn048 String False

SampleColumn049 String False

SampleColumn050 String False

SampleColumn051 String False

SampleColumn052 String False

SampleColumn053 String False

SampleColumn054 String False

SampleColumn055 String False

SampleColumn056 String False

SampleColumn057 String False

SampleColumn058 String False

SampleColumn059 String False

SampleColumn060 String False

SampleColumn061 String False

SampleColumn062 String False

SampleColumn063 String False

SampleColumn064 String False

SampleColumn065 String False

SampleColumn066 String False

SampleColumn067 String False

SampleColumn068 String False

SampleColumn069 String False

SampleColumn070 String False

SampleColumn071 String False

SampleColumn072 String False

SampleColumn073 String False

SampleColumn074 String False

SampleColumn075 String False

SampleColumn076 String False

SampleColumn077 String False

SampleColumn078 String False

SampleColumn079 String False

SampleColumn080 String False

SampleColumn081 String False

SampleColumn082 String False

SampleColumn083 String False

SampleColumn084 String False

SampleColumn085 String False

SampleColumn086 String False

SampleColumn087 String False

SampleColumn088 String False

SampleColumn089 String False

SampleColumn090 String False

SampleColumn091 String False

SampleColumn092 String False

SampleColumn093 String False

SampleColumn094 String False

SampleColumn095 String False

SampleColumn096 String False

SampleColumn097 String False

SampleColumn098 String False

SampleColumn099 String False

SampleColumn100 String False

SampleColumn101 String False

SampleColumn102 String False

SampleColumn103 String False

SampleColumn104 String False

SampleColumn105 String False

SampleColumn106 String False

SampleColumn107 String False

SampleColumn108 String False

SampleColumn109 String False

SampleColumn110 String False

SampleColumn111 String False

SampleColumn112 String False

SampleColumn113 String False

SampleColumn114 String False

SampleColumn115 String False

SampleColumn116 String False

SampleColumn117 String False

SampleColumn118 String False

SampleColumn119 String False

SampleColumn120 String False

SampleColumn121 String False

SampleColumn122 String False

SampleColumn123 String False

SampleColumn124 String False

SampleColumn125 String False

SampleColumn126 String False

SampleColumn127 String False

SampleColumn128 String False

SampleColumn129 String False

SampleColumn130 String False

SampleColumn131 String False

SampleColumn132 String False

SampleColumn133 String False

SampleColumn134 String False

SampleColumn135 String False

SampleColumn136 String False

SampleColumn137 String False

SampleColumn138 String False

SampleColumn139 String False

SampleColumn140 String False

SampleColumn141 String False

SampleColumn142 String False

SampleColumn143 String False

SampleColumn144 String False

SampleColumn145 String False

SampleColumn146 String False

SampleColumn147 String False

SampleColumn148 String False

SampleColumn149 String False

SampleColumn150 String False

ArchiveFlg Integer False

CategoryCode String False

CategoryId String False

CreateDate Datetime False

CreatedBy String False

CreatedByUserName String False

ItemTypeId String False

LinkUrl String False

OutputSetId String False

ParamId String False

ParentParamId String False

ParentParamName String False

StatusId String False

StructureId String False

UpdateDate Datetime False

UpdatedBy String False

UpdatedByUserName String False

Business b-ridge Connector for CData Sync

CDATA_Contents

Query information regarding CDATA_Contents table.

Select

CdataItemId column is required for this table. The following query is processed server side:
SELECT * FROM CDATA_Contents WHERE CdataItemId = '994497c2d6674c0d82e293537478be11'

Insert

For child tables ParentItemId, Title and BlobAddress columns are required. For example CDataItemId is required in CData_Contents. BlobAddress is the id of the uploaded file in blob storage. In order to get this id, you have to execute UploadFile stored procedure.

INSERT INTO CDATA_Contents (CdataItemId, Title, BlobAddress) VALUES ('994497c2d6674c0d82e293537478be11', 'API content', 'ue6b9f7a2b5374044aada6540811e1e76z_20200306090817.csv')

Update

All columns with readOnly= false can be updated.

UPDATE CDATA_Contents SET Title = 'Updated3' WHERE ID = '000002' AND CdataItemId = '45265dbdbbcd44aaa56ccced249b0a97'

Bulk Insert


INSERT INTO CDATA_Contents#TEMP (CdataItemId, Title, BlobAddress) VALUES ('994497c2d6674c0d82e293537478be11', 'API content', '637196255419198672_codecode.jpg')
INSERT INTO CDATA_Contents#TEMP (CdataItemId, Title, BlobAddress) VALUES ('994497c2d6674c0d82e293537478be11', 'API content', '637196255835825455_codecode.jpg')
INSERT INTO CDATA_Contents (CdataItemId, Title, BlobAddress) SELECT CdataItemId, Title, BlobAddress from CDATA_Contents#TEMP

Bulk Update


INSERT INTO CDATA_Contents#TEMP (ItemId, Title) VALUES ('86d0872f574243ffb5118c34ef13b4a5', 'API content33')
INSERT INTO CDATA_Contents#TEMP (ItemId, Title) VALUES ('f6d39662ca83b4b4f9dc0d73ab884916', 'API content33')
UPDATE CDATA_Contents (ItemId, Title) SELECT ItemId, Title from CDATA_Contents#TEMP

Columns

Name Type ReadOnly Description
CDATAItemId String False

Id of the CDATA item that you want to query contents.

ID String False

Title String False

Version String False

Contents Name String False

Size String False

Comment String False

UpdatedByUserName String True

UpdateDate Datetime True

Edit Status String False

Edit User Name String False

Location String False

CreatedByUserName String True

CreateDate Datetime True

BlobAddress String False

Edit User ID String False

VersionId String False

Sign Date Datetime False

Signer Name String False

Signer Email Address String False

Sign Reason String False

Sign Title String False

Validation Status String False

Certificate Status String False

Sign Version ID String False

ReportId String False

Check In/Out String False

Report Parent ItemId String False

Mode String False

Width Int False

Height Int False

Cache Status String False

Text String False

Color String False

Position String False

Width(%) Int False

Viewing String False

Printing String False

CreatedBy String True

UpdatedBy String True

ItemId [KEY] String True

StructureId String False

ItemTypeId String False

ParentParamId String True

ParentParamName String True

ArchiveFlg Int True

ColumnVersion String True

MsgHistory String True

ReferenceItems String True

Business b-ridge Connector for CData Sync

Views

Views are similar to tables in the way that data is represented; however, views are read-only.

Queries can be executed against a view as if it were a normal table.

Business b-ridge Connector for CData Sync Views

Name Description
ContentVersions Query information regarding content versions.
Users Query information regarding users.

Business b-ridge Connector for CData Sync

ContentVersions

Query information regarding content versions.

Select

ItemId column is required for this table. The following query is processed server side:
SELECT * FROM ContentVersions WHERE ItemId = 'f6d39662ca83b4b4f9dc0d73ab884916'

Columns

Name Type Description
ItemId String Id of the item.
BlobId String Id of the blob.
ContentType String Type of the content.
FileTitle String Title of the file.
FileName String Name of the file.
FileSize String Size of the file.
FileVersion String Version of the file.
FileComment String Comment of the file.
Latest Boolean Shows if version of the file is the latest.
UpdateDate Datetime Date of update.
UpdatedBy String Id of the user who updated content.
UpdatedByUserName String Name of the user who updated content.

Business b-ridge Connector for CData Sync

Users

Query information regarding users.

Columns

Name Type Description
Id [KEY] String If of the user.
Name String Name of the user.
AdminFlag Int Specifies if current user is administrator.
CircleAttr1 String Circle attribute of the user.
CircleAttr2 String Circle attribute of the user.
CircleAttr3 String Circle attribute of the user.
CircleAttr4 String Circle attribute of the user.
CircleAttr5 String Circle attribute of the user.
Language String Language of the user.
MailAddress String Mail address of the user.
MailType String Mail type of the user.
Attribute1 String Attribute of the user.
Attribute2 String Attribute of the user.
Attribute3 String Attribute of the user.
Attribute4 String Attribute of the user.
Attribute5 String Attribute of the user.
SubMailAddress1 String First sub mail address of the user.
SubMailType1 String First sub mail type of the user.
SubMailAddress2 String Second sub mail address of the user.
SubMailType2 String Second sub mail type of the user.
SubMailAddress3 String Third sub mail address of the user.
SubMailType3 String Third sub mail type of the user.

Business b-ridge Connector for CData Sync

Data Type Mapping

The Sync App maps types from the data source to the corresponding data type available in the schema. The following table documents these mappings.

Data Type Mapping

Business b-ridge UI JP Business b-ridge API Type CData Schema
Character string string
Characters (with line break) string string
Integer int integer
Integer (with comma) int3 integer
Minority decimal decimal
Minority (with comma) decimal3 decimal
date date date
CreateDate datetime timestamp
UpdateDate datetime timestamp

Business b-ridge Connector for CData Sync

Connection String Options

The connection string properties are the various options that can be used to establish a connection. This section provides a complete list of the options you can configure in the connection string for this provider. Click the links for further details.

For more information on establishing a connection, see Establishing a Connection.

Authentication


PropertyDescription
CompanyKeyTogether with ProjectKey and SubscriptionKey , this field is used to provide authentication for the user to B-ridge's servers.
SubscriptionKeyTogether with ProjectKey and CompanyKey , this field is used to provide authentication for the user to B-ridge's servers.
ProjectKeyTogether with CompanyKey and SubscriptionKey , this field is used to provide authentication for the user to B-ridge's servers.
URLThe URL of the B-ridge account.

SSL


PropertyDescription
SSLServerCertThe certificate to be accepted from the server when connecting using TLS/SSL.

Firewall


PropertyDescription
FirewallTypeThe protocol used by a proxy-based firewall.
FirewallServerThe name or IP address of a proxy-based firewall.
FirewallPortThe TCP port for a proxy-based firewall.
FirewallUserThe user name to use to authenticate with a proxy-based firewall.
FirewallPasswordA password used to authenticate to a proxy-based firewall.

Proxy


PropertyDescription
ProxyAutoDetectThis indicates whether to use the system proxy settings or not.
ProxyServerThe hostname or IP address of a proxy to route HTTP traffic through.
ProxyPortThe TCP port the ProxyServer proxy is running on.
ProxyAuthSchemeThe authentication type to use to authenticate to the ProxyServer proxy.
ProxyUserA user name to be used to authenticate to the ProxyServer proxy.
ProxyPasswordA password to be used to authenticate to the ProxyServer proxy.
ProxySSLTypeThe SSL type to use when connecting to the ProxyServer proxy.
ProxyExceptionsA semicolon separated list of destination hostnames or IPs that are exempt from connecting through the ProxyServer .

Logging


PropertyDescription
LogModulesCore modules to be included in the log file.

Schema


PropertyDescription
LocationA path to the directory that contains the schema files defining tables, views, and stored procedures.
BrowsableSchemasThis property restricts the schemas reported to a subset of the available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC.
TablesThis property restricts the tables reported to a subset of the available tables. For example, Tables=TableA,TableB,TableC.
ViewsRestricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC.

Miscellaneous


PropertyDescription
AllowNonKeyColumnInWhereClauseSet the connection property AllowNonKeyColumnInWhereClause as true to execute an update batch without specifying the key columns.
MaxRowsLimits the number of rows returned when no aggregation or GROUP BY is used in the query. This takes precedence over LIMIT clauses.
OtherThese hidden properties are used only in specific use cases.
PagesizeThe maximum number of results to return per page from Business b-ridge.
PollingIntervalThis determines the polling interval in milliseconds to check whether the result is ready to be retrieved.
PseudoColumnsThis property indicates whether or not to include pseudo columns as columns to the table.
QueryTimeoutThe timeout in seconds for requests issued by the provider to process large result sets.
TimeoutThe value in seconds until the timeout error is thrown, canceling the operation.
UserDefinedViewsA filepath pointing to the JSON configuration file containing your custom views.
UseSandboxSet to true if you want to use user test environment.
Business b-ridge Connector for CData Sync

Authentication

This section provides a complete list of the Authentication properties you can configure in the connection string for this provider.


PropertyDescription
CompanyKeyTogether with ProjectKey and SubscriptionKey , this field is used to provide authentication for the user to B-ridge's servers.
SubscriptionKeyTogether with ProjectKey and CompanyKey , this field is used to provide authentication for the user to B-ridge's servers.
ProjectKeyTogether with CompanyKey and SubscriptionKey , this field is used to provide authentication for the user to B-ridge's servers.
URLThe URL of the B-ridge account.
Business b-ridge Connector for CData Sync

CompanyKey

Together with ProjectKey and SubscriptionKey , this field is used to provide authentication for the user to B-ridge's servers.

Remarks

Together with ProjectKey and SubscriptionKey, this field is used to provide authentication for the user to B-ridge's servers.

Business b-ridge Connector for CData Sync

SubscriptionKey

Together with ProjectKey and CompanyKey , this field is used to provide authentication for the user to B-ridge's servers.

Remarks

Together with ProjectKey and CompanyKey, this field is used to provide authentication for the user to B-ridge's servers.

Business b-ridge Connector for CData Sync

ProjectKey

Together with CompanyKey and SubscriptionKey , this field is used to provide authentication for the user to B-ridge's servers.

Remarks

Together with CompanyKey and SubscriptionKey, this field is used to provide authentication for the user to B-ridge's servers.

Business b-ridge Connector for CData Sync

URL

The URL of the B-ridge account.

Remarks

The URL of the B-ridge account in the form "https://{sample}.azure-api.net".

Business b-ridge Connector for CData Sync

SSL

This section provides a complete list of the SSL properties you can configure in the connection string for this provider.


PropertyDescription
SSLServerCertThe certificate to be accepted from the server when connecting using TLS/SSL.
Business b-ridge Connector for CData Sync

SSLServerCert

The certificate to be accepted from the server when connecting using TLS/SSL.

Remarks

If using a TLS/SSL connection, this property can be used to specify the TLS/SSL certificate to be accepted from the server. Any other certificate that is not trusted by the machine is rejected.

This property can take the following forms:

Description Example
A full PEM Certificate (example shortened for brevity) -----BEGIN CERTIFICATE----- MIIChTCCAe4CAQAwDQYJKoZIhv......Qw== -----END CERTIFICATE-----
A path to a local file containing the certificate C:\cert.cer
The public key (example shortened for brevity) -----BEGIN RSA PUBLIC KEY----- MIGfMA0GCSq......AQAB -----END RSA PUBLIC KEY-----
The MD5 Thumbprint (hex values can also be either space or colon separated) ecadbdda5a1529c58a1e9e09828d70e4
The SHA1 Thumbprint (hex values can also be either space or colon separated) 34a929226ae0819f2ec14b4a3d904f801cbb150d

If not specified, any certificate trusted by the machine is accepted.

Use '*' to signify to accept all certificates. Note that this is not recommended due to security concerns.

Business b-ridge Connector for CData Sync

Firewall

This section provides a complete list of the Firewall properties you can configure in the connection string for this provider.


PropertyDescription
FirewallTypeThe protocol used by a proxy-based firewall.
FirewallServerThe name or IP address of a proxy-based firewall.
FirewallPortThe TCP port for a proxy-based firewall.
FirewallUserThe user name to use to authenticate with a proxy-based firewall.
FirewallPasswordA password used to authenticate to a proxy-based firewall.
Business b-ridge Connector for CData Sync

FirewallType

The protocol used by a proxy-based firewall.

Remarks

This property specifies the protocol that the Sync App will use to tunnel traffic through the FirewallServer proxy. Note that by default, the Sync App connects to the system proxy; to disable this behavior and connect to one of the following proxy types, set ProxyAutoDetect to false.

Type Default Port Description
TUNNEL 80 When this is set, the Sync App opens a connection to Business b-ridge and traffic flows back and forth through the proxy.
SOCKS4 1080 When this is set, the Sync App sends data through the SOCKS 4 proxy specified by FirewallServer and FirewallPort and passes the FirewallUser value to the proxy, which determines if the connection request should be granted.
SOCKS5 1080 When this is set, the Sync App sends data through the SOCKS 5 proxy specified by FirewallServer and FirewallPort. If your proxy requires authentication, set FirewallUser and FirewallPassword to credentials the proxy recognizes.

To connect to HTTP proxies, use ProxyServer and ProxyPort. To authenticate to HTTP proxies, use ProxyAuthScheme, ProxyUser, and ProxyPassword.

Business b-ridge Connector for CData Sync

FirewallServer

The name or IP address of a proxy-based firewall.

Remarks

This property specifies the IP address, DNS name, or host name of a proxy allowing traversal of a firewall. The protocol is specified by FirewallType: Use FirewallServer with this property to connect through SOCKS or do tunneling. Use ProxyServer to connect to an HTTP proxy.

Note that the Sync App uses the system proxy by default. To use a different proxy, set ProxyAutoDetect to false.

Business b-ridge Connector for CData Sync

FirewallPort

The TCP port for a proxy-based firewall.

Remarks

This specifies the TCP port for a proxy allowing traversal of a firewall. Use FirewallServer to specify the name or IP address. Specify the protocol with FirewallType.

Business b-ridge Connector for CData Sync

FirewallUser

The user name to use to authenticate with a proxy-based firewall.

Remarks

The FirewallUser and FirewallPassword properties are used to authenticate against the proxy specified in FirewallServer and FirewallPort, following the authentication method specified in FirewallType.

Business b-ridge Connector for CData Sync

FirewallPassword

A password used to authenticate to a proxy-based firewall.

Remarks

This property is passed to the proxy specified by FirewallServer and FirewallPort, following the authentication method specified by FirewallType.

Business b-ridge Connector for CData Sync

Proxy

This section provides a complete list of the Proxy properties you can configure in the connection string for this provider.


PropertyDescription
ProxyAutoDetectThis indicates whether to use the system proxy settings or not.
ProxyServerThe hostname or IP address of a proxy to route HTTP traffic through.
ProxyPortThe TCP port the ProxyServer proxy is running on.
ProxyAuthSchemeThe authentication type to use to authenticate to the ProxyServer proxy.
ProxyUserA user name to be used to authenticate to the ProxyServer proxy.
ProxyPasswordA password to be used to authenticate to the ProxyServer proxy.
ProxySSLTypeThe SSL type to use when connecting to the ProxyServer proxy.
ProxyExceptionsA semicolon separated list of destination hostnames or IPs that are exempt from connecting through the ProxyServer .
Business b-ridge Connector for CData Sync

ProxyAutoDetect

This indicates whether to use the system proxy settings or not.

Remarks

This takes precedence over other proxy settings, so you'll need to set ProxyAutoDetect to FALSE in order use custom proxy settings.

To connect to an HTTP proxy, see ProxyServer. For other proxies, such as SOCKS or tunneling, see FirewallType.

Business b-ridge Connector for CData Sync

ProxyServer

The hostname or IP address of a proxy to route HTTP traffic through.

Remarks

The hostname or IP address of a proxy to route HTTP traffic through. The Sync App can use the HTTP, Windows (NTLM), or Kerberos authentication types to authenticate to an HTTP proxy.

If you need to connect through a SOCKS proxy or tunnel the connection, see FirewallType.

By default, the Sync App uses the system proxy. If you need to use another proxy, set ProxyAutoDetect to false.

Business b-ridge Connector for CData Sync

ProxyPort

The TCP port the ProxyServer proxy is running on.

Remarks

The port the HTTP proxy is running on that you want to redirect HTTP traffic through. Specify the HTTP proxy in ProxyServer. For other proxy types, see FirewallType.

Business b-ridge Connector for CData Sync

ProxyAuthScheme

The authentication type to use to authenticate to the ProxyServer proxy.

Remarks

This value specifies the authentication type to use to authenticate to the HTTP proxy specified by ProxyServer and ProxyPort.

Note that the Sync App will use the system proxy settings by default, without further configuration needed; if you want to connect to another proxy, you will need to set ProxyAutoDetect to false, in addition to ProxyServer and ProxyPort. To authenticate, set ProxyAuthScheme and set ProxyUser and ProxyPassword, if needed.

The authentication type can be one of the following:

  • BASIC: The Sync App performs HTTP BASIC authentication.
  • DIGEST: The Sync App performs HTTP DIGEST authentication.
  • NEGOTIATE: The Sync App retrieves an NTLM or Kerberos token based on the applicable protocol for authentication.
  • PROPRIETARY: The Sync App does not generate an NTLM or Kerberos token. You must supply this token in the Authorization header of the HTTP request.

If you need to use another authentication type, such as SOCKS 5 authentication, see FirewallType.

Business b-ridge Connector for CData Sync

ProxyUser

A user name to be used to authenticate to the ProxyServer proxy.

Remarks

The ProxyUser and ProxyPassword options are used to connect and authenticate against the HTTP proxy specified in ProxyServer.

You can select one of the available authentication types in ProxyAuthScheme. If you are using HTTP authentication, set this to the user name of a user recognized by the HTTP proxy. If you are using Windows or Kerberos authentication, set this property to a user name in one of the following formats:

user@domain
domain\user

Business b-ridge Connector for CData Sync

ProxyPassword

A password to be used to authenticate to the ProxyServer proxy.

Remarks

This property is used to authenticate to an HTTP proxy server that supports NTLM (Windows), Kerberos, or HTTP authentication. To specify the HTTP proxy, you can set ProxyServer and ProxyPort. To specify the authentication type, set ProxyAuthScheme.

If you are using HTTP authentication, additionally set ProxyUser and ProxyPassword to HTTP proxy.

If you are using NTLM authentication, set ProxyUser and ProxyPassword to your Windows password. You may also need these to complete Kerberos authentication.

For SOCKS 5 authentication or tunneling, see FirewallType.

By default, the Sync App uses the system proxy. If you want to connect to another proxy, set ProxyAutoDetect to false.

Business b-ridge Connector for CData Sync

ProxySSLType

The SSL type to use when connecting to the ProxyServer proxy.

Remarks

This property determines when to use SSL for the connection to an HTTP proxy specified by ProxyServer. This value can be AUTO, ALWAYS, NEVER, or TUNNEL. The applicable values are the following:

AUTODefault setting. If the URL is an HTTPS URL, the Sync App will use the TUNNEL option. If the URL is an HTTP URL, the component will use the NEVER option.
ALWAYSThe connection is always SSL enabled.
NEVERThe connection is not SSL enabled.
TUNNELThe connection is through a tunneling proxy. The proxy server opens a connection to the remote host and traffic flows back and forth through the proxy.

Business b-ridge Connector for CData Sync

ProxyExceptions

A semicolon separated list of destination hostnames or IPs that are exempt from connecting through the ProxyServer .

Remarks

The ProxyServer is used for all addresses, except for addresses defined in this property. Use semicolons to separate entries.

Note that the Sync App uses the system proxy settings by default, without further configuration needed; if you want to explicitly configure proxy exceptions for this connection, you need to set ProxyAutoDetect = false, and configure ProxyServer and ProxyPort. To authenticate, set ProxyAuthScheme and set ProxyUser and ProxyPassword, if needed.

Business b-ridge Connector for CData Sync

Logging

This section provides a complete list of the Logging properties you can configure in the connection string for this provider.


PropertyDescription
LogModulesCore modules to be included in the log file.
Business b-ridge Connector for CData Sync

LogModules

Core modules to be included in the log file.

Remarks

Only the modules specified (separated by ';') will be included in the log file. By default all modules are included.

See the Logging page for an overview.

Business b-ridge Connector for CData Sync

Schema

This section provides a complete list of the Schema properties you can configure in the connection string for this provider.


PropertyDescription
LocationA path to the directory that contains the schema files defining tables, views, and stored procedures.
BrowsableSchemasThis property restricts the schemas reported to a subset of the available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC.
TablesThis property restricts the tables reported to a subset of the available tables. For example, Tables=TableA,TableB,TableC.
ViewsRestricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC.
Business b-ridge Connector for CData Sync

Location

A path to the directory that contains the schema files defining tables, views, and stored procedures.

Remarks

The path to a directory which contains the schema files for the Sync App (.rsd files for tables and views, .rsb files for stored procedures). The folder location can be a relative path from the location of the executable. The Location property is only needed if you want to customize definitions (for example, change a column name, ignore a column, and so on) or extend the data model with new tables, views, or stored procedures.

If left unspecified, the default location is "%APPDATA%\\CData\\Businessbridge Data Provider\\Schema" with %APPDATA% being set to the user's configuration directory:

Platform %APPDATA%
Windows The value of the APPDATA environment variable
Linux ~/.config

Business b-ridge Connector for CData Sync

BrowsableSchemas

This property restricts the schemas reported to a subset of the available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC.

Remarks

Listing the schemas from databases can be expensive. Providing a list of schemas in the connection string improves the performance.

Business b-ridge Connector for CData Sync

Tables

This property restricts the tables reported to a subset of the available tables. For example, Tables=TableA,TableB,TableC.

Remarks

Listing the tables from some databases can be expensive. Providing a list of tables in the connection string improves the performance of the Sync App.

This property can also be used as an alternative to automatically listing views if you already know which ones you want to work with and there would otherwise be too many to work with.

Specify the tables you want in a comma-separated list. Each table should be a valid SQL identifier with any special characters escaped using square brackets, double-quotes or backticks. For example, Tables=TableA,[TableB/WithSlash],WithCatalog.WithSchema.`TableC With Space`.

Note that when connecting to a data source with multiple schemas or catalogs, you will need to provide the fully qualified name of the table in this property, as in the last example here, to avoid ambiguity between tables that exist in multiple catalogs or schemas.

Business b-ridge Connector for CData Sync

Views

Restricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC.

Remarks

Listing the views from some databases can be expensive. Providing a list of views in the connection string improves the performance of the Sync App.

This property can also be used as an alternative to automatically listing views if you already know which ones you want to work with and there would otherwise be too many to work with.

Specify the views you want in a comma-separated list. Each view should be a valid SQL identifier with any special characters escaped using square brackets, double-quotes or backticks. For example, Views=ViewA,[ViewB/WithSlash],WithCatalog.WithSchema.`ViewC With Space`.

Note that when connecting to a data source with multiple schemas or catalogs, you will need to provide the fully qualified name of the table in this property, as in the last example here, to avoid ambiguity between tables that exist in multiple catalogs or schemas.

Business b-ridge Connector for CData Sync

Miscellaneous

This section provides a complete list of the Miscellaneous properties you can configure in the connection string for this provider.


PropertyDescription
AllowNonKeyColumnInWhereClauseSet the connection property AllowNonKeyColumnInWhereClause as true to execute an update batch without specifying the key columns.
MaxRowsLimits the number of rows returned when no aggregation or GROUP BY is used in the query. This takes precedence over LIMIT clauses.
OtherThese hidden properties are used only in specific use cases.
PagesizeThe maximum number of results to return per page from Business b-ridge.
PollingIntervalThis determines the polling interval in milliseconds to check whether the result is ready to be retrieved.
PseudoColumnsThis property indicates whether or not to include pseudo columns as columns to the table.
QueryTimeoutThe timeout in seconds for requests issued by the provider to process large result sets.
TimeoutThe value in seconds until the timeout error is thrown, canceling the operation.
UserDefinedViewsA filepath pointing to the JSON configuration file containing your custom views.
UseSandboxSet to true if you want to use user test environment.
Business b-ridge Connector for CData Sync

AllowNonKeyColumnInWhereClause

Set the connection property AllowNonKeyColumnInWhereClause as true to execute an update batch without specifying the key columns.

Remarks

Set the connection property AllowNonKeyColumnInWhereClause as true to execute an update batch without specifying the key columns.

Business b-ridge Connector for CData Sync

MaxRows

Limits the number of rows returned when no aggregation or GROUP BY is used in the query. This takes precedence over LIMIT clauses.

Remarks

Limits the number of rows returned when no aggregation or GROUP BY is used in the query. This takes precedence over LIMIT clauses.

Business b-ridge Connector for CData Sync

Other

These hidden properties are used only in specific use cases.

Remarks

The properties listed below are available for specific use cases. Normal driver use cases and functionality should not require these properties.

Specify multiple properties in a semicolon-separated list.

Integration and Formatting

DefaultColumnSizeSets the default length of string fields when the data source does not provide column length in the metadata. The default value is 2000.
ConvertDateTimeToGMTDetermines whether to convert date-time values to GMT, instead of the local time of the machine.
RecordToFile=filenameRecords the underlying socket data transfer to the specified file.

Business b-ridge Connector for CData Sync

Pagesize

The maximum number of results to return per page from Business b-ridge.

Remarks

The Pagesize property affects the maximum number of results to return per page from Business b-ridge. Setting a higher value may result in better performance at the cost of additional memory allocated per page consumed.

Business b-ridge Connector for CData Sync

PollingInterval

This determines the polling interval in milliseconds to check whether the result is ready to be retrieved.

Remarks

This property determines how long to wait between checking whether or not the query's results are ready. Very large resultsets or complex queries may take longer to process, and a low polling interval may result in many unnecessary requests being made to check the query status.

Business b-ridge Connector for CData Sync

PseudoColumns

This property indicates whether or not to include pseudo columns as columns to the table.

Remarks

This setting is particularly helpful in Entity Framework, which does not allow you to set a value for a pseudo column unless it is a table column. The value of this connection setting is of the format "Table1=Column1, Table1=Column2, Table2=Column3". You can use the "*" character to include all tables and all columns; for example, "*=*".

Business b-ridge Connector for CData Sync

QueryTimeout

The timeout in seconds for requests issued by the provider to process large result sets.

Remarks

If the QueryTimeout property is set to 0, operations will not time out; instead, they will run until they complete successfully or encounter an error condition. This property is distinct from Timeout which applies to individual HTTP operations while QueryTimeout applies to execution time of the operation as a whole.

If QueryTimeout expires and the request has not finished being processed, the Sync App raises an error condition.

Business b-ridge Connector for CData Sync

Timeout

The value in seconds until the timeout error is thrown, canceling the operation.

Remarks

If Timeout = 0, operations do not time out. The operations run until they complete successfully or until they encounter an error condition.

If Timeout expires and the operation is not yet complete, the Sync App throws an exception.

Business b-ridge Connector for CData Sync

UserDefinedViews

A filepath pointing to the JSON configuration file containing your custom views.

Remarks

User Defined Views are defined in a JSON-formatted configuration file called UserDefinedViews.json. The Sync App automatically detects the views specified in this file.

You can also have multiple view definitions and control them using the UserDefinedViews connection property. When you use this property, only the specified views are seen by the Sync App.

This User Defined View configuration file is formatted as follows:

  • Each root element defines the name of a view.
  • Each root element contains a child element, called query, which contains the custom SQL query for the view.

For example:

{
	"MyView": {
		"query": "SELECT * FROM CDATA WHERE MyColumn = 'value'"
	},
	"MyView2": {
		"query": "SELECT * FROM MyTable WHERE Id IN (1,2,3)"
	}
}
Use the UserDefinedViews connection property to specify the location of your JSON configuration file. For example:
"UserDefinedViews", C:\Users\yourusername\Desktop\tmp\UserDefinedViews.json
Note that the specified path is not embedded in quotation marks.

Business b-ridge Connector for CData Sync

UseSandbox

Set to true if you want to use user test environment.

Remarks

Set to true if you want to use user test environment.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839