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.
The Sync App leverages the Businessbridge API to enable bidirectional access to Businessbridge.
For required properties, see the Settings tab.
For connection properties that are not typically required, see the Advanced tab.
To obtain the SubscriptionKey, follow the steps below:
Set the following connection properties to connect:
This section details a selection of advanced features of the Business b-ridge Sync App.
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.
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.
Configure the Sync App for compliance with Firewall and Proxy, including Windows proxies and HTTP proxies. You can also set up tunnel connections.
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.
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.
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.
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.
Set the following properties:
This section shows the available API objects and provides more information on executing SQL to Business b-ridge APIs.
Views describes the available views. Views are statically defined to model ContentVersions and Users.
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 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.
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.
Name | Description |
CDATA | Query information regarding CDATA table. |
CDATA_Contents | Query information regarding CDATA_Contents table. |
Query information regarding CDATA table.
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'
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)
All columns with readOnly= false can be updated.
UPDATE CDATA SET SampleColumn002 = 'Businessbridge' WHERE ItemId = '0d6fd6470c1cf8e8bc96bc74b528d502'
Records can be deleted by providing the ItemId.
DELETE FROM CDATA WHERE ItemId = '93147a976bbe4dfa9f1949e78883395c'
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
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
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
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 |
Query information regarding CDATA_Contents table.
SELECT * FROM CDATA_Contents WHERE CdataItemId = '994497c2d6674c0d82e293537478be11'
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')
All columns with readOnly= false can be updated.
UPDATE CDATA_Contents SET Title = 'Updated3' WHERE ID = '000002' AND CdataItemId = '45265dbdbbcd44aaa56ccced249b0a97'
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
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
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 |
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.
Name | Description |
ContentVersions | Query information regarding content versions. |
Users | Query information regarding users. |
Query information regarding content versions.
SELECT * FROM ContentVersions WHERE ItemId = 'f6d39662ca83b4b4f9dc0d73ab884916'
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. |
Query information regarding users.
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. |
The Sync App maps types from the data source to the corresponding data type available in the schema. The following table documents these mappings.
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 |
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.
Property | Description |
CompanyKey | Together with ProjectKey and SubscriptionKey , this field is used to provide authentication for the user to B-ridge's servers. |
SubscriptionKey | Together with ProjectKey and CompanyKey , this field is used to provide authentication for the user to B-ridge's servers. |
ProjectKey | Together with CompanyKey and SubscriptionKey , this field is used to provide authentication for the user to B-ridge's servers. |
URL | The URL of the B-ridge account. |
Property | Description |
SSLServerCert | The certificate to be accepted from the server when connecting using TLS/SSL. |
Property | Description |
FirewallType | The protocol used by a proxy-based firewall. |
FirewallServer | The name or IP address of a proxy-based firewall. |
FirewallPort | The TCP port for a proxy-based firewall. |
FirewallUser | The user name to use to authenticate with a proxy-based firewall. |
FirewallPassword | A password used to authenticate to a proxy-based firewall. |
Property | Description |
ProxyAutoDetect | This indicates whether to use the system proxy settings or not. |
ProxyServer | The hostname or IP address of a proxy to route HTTP traffic through. |
ProxyPort | The TCP port the ProxyServer proxy is running on. |
ProxyAuthScheme | The authentication type to use to authenticate to the ProxyServer proxy. |
ProxyUser | A user name to be used to authenticate to the ProxyServer proxy. |
ProxyPassword | A password to be used to authenticate to the ProxyServer proxy. |
ProxySSLType | The SSL type to use when connecting to the ProxyServer proxy. |
ProxyExceptions | A semicolon separated list of destination hostnames or IPs that are exempt from connecting through the ProxyServer . |
Property | Description |
LogModules | Core modules to be included in the log file. |
Property | Description |
Location | A path to the directory that contains the schema files defining tables, views, and stored procedures. |
BrowsableSchemas | This property restricts the schemas reported to a subset of the available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC. |
Tables | This property restricts the tables reported to a subset of the available tables. For example, Tables=TableA,TableB,TableC. |
Views | Restricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC. |
Property | Description |
AllowNonKeyColumnInWhereClause | Set the connection property AllowNonKeyColumnInWhereClause as true to execute an update batch without specifying the key columns. |
MaxRows | Limits the number of rows returned when no aggregation or GROUP BY is used in the query. This takes precedence over LIMIT clauses. |
Other | These hidden properties are used only in specific use cases. |
Pagesize | The maximum number of results to return per page from Business b-ridge. |
PollingInterval | This determines the polling interval in milliseconds to check whether the result is ready to be retrieved. |
PseudoColumns | This property indicates whether or not to include pseudo columns as columns to the table. |
QueryTimeout | The timeout in seconds for requests issued by the provider to process large result sets. |
Timeout | The value in seconds until the timeout error is thrown, canceling the operation. |
UserDefinedViews | A filepath pointing to the JSON configuration file containing your custom views. |
UseSandbox | Set to true if you want to use user test environment. |
This section provides a complete list of the Authentication properties you can configure in the connection string for this provider.
Property | Description |
CompanyKey | Together with ProjectKey and SubscriptionKey , this field is used to provide authentication for the user to B-ridge's servers. |
SubscriptionKey | Together with ProjectKey and CompanyKey , this field is used to provide authentication for the user to B-ridge's servers. |
ProjectKey | Together with CompanyKey and SubscriptionKey , this field is used to provide authentication for the user to B-ridge's servers. |
URL | The URL of the B-ridge account. |
Together with ProjectKey and SubscriptionKey , this field is used to provide authentication for the user to B-ridge's servers.
Together with ProjectKey and SubscriptionKey, this field is used to provide authentication for the user to B-ridge's servers.
Together with ProjectKey and CompanyKey , this field is used to provide authentication for the user to B-ridge's servers.
Together with ProjectKey and CompanyKey, this field is used to provide authentication for the user to B-ridge's servers.
Together with CompanyKey and SubscriptionKey , this field is used to provide authentication for the user to B-ridge's servers.
Together with CompanyKey and SubscriptionKey, this field is used to provide authentication for the user to B-ridge's servers.
The URL of the B-ridge account.
The URL of the B-ridge account in the form "https://{sample}.azure-api.net".
This section provides a complete list of the SSL properties you can configure in the connection string for this provider.
Property | Description |
SSLServerCert | The certificate to be accepted from the server when connecting using TLS/SSL. |
The certificate to be accepted from the server when connecting using TLS/SSL.
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.
This section provides a complete list of the Firewall properties you can configure in the connection string for this provider.
Property | Description |
FirewallType | The protocol used by a proxy-based firewall. |
FirewallServer | The name or IP address of a proxy-based firewall. |
FirewallPort | The TCP port for a proxy-based firewall. |
FirewallUser | The user name to use to authenticate with a proxy-based firewall. |
FirewallPassword | A password used to authenticate to a proxy-based firewall. |
The protocol used by a proxy-based firewall.
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.
The name or IP address of a proxy-based firewall.
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.
The TCP port for a proxy-based firewall.
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.
The user name to use to authenticate with a proxy-based firewall.
The FirewallUser and FirewallPassword properties are used to authenticate against the proxy specified in FirewallServer and FirewallPort, following the authentication method specified in FirewallType.
A password used to authenticate to a proxy-based firewall.
This property is passed to the proxy specified by FirewallServer and FirewallPort, following the authentication method specified by FirewallType.
This section provides a complete list of the Proxy properties you can configure in the connection string for this provider.
Property | Description |
ProxyAutoDetect | This indicates whether to use the system proxy settings or not. |
ProxyServer | The hostname or IP address of a proxy to route HTTP traffic through. |
ProxyPort | The TCP port the ProxyServer proxy is running on. |
ProxyAuthScheme | The authentication type to use to authenticate to the ProxyServer proxy. |
ProxyUser | A user name to be used to authenticate to the ProxyServer proxy. |
ProxyPassword | A password to be used to authenticate to the ProxyServer proxy. |
ProxySSLType | The SSL type to use when connecting to the ProxyServer proxy. |
ProxyExceptions | A semicolon separated list of destination hostnames or IPs that are exempt from connecting through the ProxyServer . |
This indicates whether to use the system proxy settings or not.
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.
The hostname or IP address of a proxy to route HTTP traffic through.
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.
The TCP port the ProxyServer proxy is running on.
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.
The authentication type to use to authenticate to the ProxyServer proxy.
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:
If you need to use another authentication type, such as SOCKS 5 authentication, see FirewallType.
A user name to be used to authenticate to the ProxyServer proxy.
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
A password to be used to authenticate to the ProxyServer proxy.
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.
The SSL type to use when connecting to the ProxyServer proxy.
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:
AUTO | Default 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. |
ALWAYS | The connection is always SSL enabled. |
NEVER | The connection is not SSL enabled. |
TUNNEL | The 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. |
A semicolon separated list of destination hostnames or IPs that are exempt from connecting through the ProxyServer .
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.
This section provides a complete list of the Logging properties you can configure in the connection string for this provider.
Property | Description |
LogModules | Core modules to be included in the log file. |
Core modules to be included in the log file.
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.
This section provides a complete list of the Schema properties you can configure in the connection string for this provider.
Property | Description |
Location | A path to the directory that contains the schema files defining tables, views, and stored procedures. |
BrowsableSchemas | This property restricts the schemas reported to a subset of the available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC. |
Tables | This property restricts the tables reported to a subset of the available tables. For example, Tables=TableA,TableB,TableC. |
Views | Restricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC. |
A path to the directory that contains the schema files defining tables, views, and stored procedures.
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 |
This property restricts the schemas reported to a subset of the available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC.
Listing the schemas from databases can be expensive. Providing a list of schemas in the connection string improves the performance.
This property restricts the tables reported to a subset of the available tables. For example, Tables=TableA,TableB,TableC.
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.
Restricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC.
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.
This section provides a complete list of the Miscellaneous properties you can configure in the connection string for this provider.
Property | Description |
AllowNonKeyColumnInWhereClause | Set the connection property AllowNonKeyColumnInWhereClause as true to execute an update batch without specifying the key columns. |
MaxRows | Limits the number of rows returned when no aggregation or GROUP BY is used in the query. This takes precedence over LIMIT clauses. |
Other | These hidden properties are used only in specific use cases. |
Pagesize | The maximum number of results to return per page from Business b-ridge. |
PollingInterval | This determines the polling interval in milliseconds to check whether the result is ready to be retrieved. |
PseudoColumns | This property indicates whether or not to include pseudo columns as columns to the table. |
QueryTimeout | The timeout in seconds for requests issued by the provider to process large result sets. |
Timeout | The value in seconds until the timeout error is thrown, canceling the operation. |
UserDefinedViews | A filepath pointing to the JSON configuration file containing your custom views. |
UseSandbox | Set to true if you want to use user test environment. |
Set the connection property AllowNonKeyColumnInWhereClause as true to execute an update batch without specifying the key columns.
Set the connection property AllowNonKeyColumnInWhereClause as true to execute an update batch without specifying the key columns.
Limits the number of rows returned when no aggregation or GROUP BY is used in the query. This takes precedence over LIMIT clauses.
Limits the number of rows returned when no aggregation or GROUP BY is used in the query. This takes precedence over LIMIT clauses.
These hidden properties are used only in specific use cases.
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.
DefaultColumnSize | Sets the default length of string fields when the data source does not provide column length in the metadata. The default value is 2000. |
ConvertDateTimeToGMT | Determines whether to convert date-time values to GMT, instead of the local time of the machine. |
RecordToFile=filename | Records the underlying socket data transfer to the specified file. |
The maximum number of results to return per page from Business b-ridge.
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.
This determines the polling interval in milliseconds to check whether the result is ready to be retrieved.
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.
This property indicates whether or not to include pseudo columns as columns to the table.
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, "*=*".
The timeout in seconds for requests issued by the provider to process large result sets.
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.
The value in seconds until the timeout error is thrown, canceling the operation.
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.
A filepath pointing to the JSON configuration file containing your custom views.
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:
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.jsonNote that the specified path is not embedded in quotation marks.
Set to true if you want to use user test environment.
Set to true if you want to use user test environment.