Cloud Replication
v8
v8
  • Introduction
  • Installation
    • Windows
    • Windows Zip
    • Linux
    • Increase Heap Memory
  • Key Features
    • Filter Criteria
    • Formula Field Update
    • Rename Table or Column
    • do_sync_fl
    • Salesforce Field Selection
    • Log Event Notification
    • Scheduler For Replication
    • Global prefix for Table & Column names
    • Outbound Message Setup
    • Alter Field Size in Database
    • Replication Web API
    • Cron- functionality
    • Datamasking
    • Force Property
    • Overriding Database's Datatypes
  • Security Architecture
  • Tomcat
    • Security for Tomcat Setup
  • Utilities
    • Command Line
      • testconnection
      • showlicense
      • downloadlicense
      • diffschema
      • Describe
      • verifypasswd
      • chpwd
    • Upgrade Utility
      • Run Upgrade Utility on Linux
  • Bigdata Support
    • Archive and Non-archive Mode
  • AWS Redshift
    • Amazon Redshift
    • Datapipeline
  • Azure Synapse
  • Azure Datalake Gen2
  • MINIO
  • File Replication
    • Enable and Run File Replication
  • salesforce replication
    • Introduction
    • Getting Started
    • Core Concepts
    • Running Salesforce Replication
      • Salesforce Setup
      • Database Setup
        • Azure Active Directory
      • Objects
      • Restore
      • Schedule Jobs
      • Notifications
        • Email
        • Webhooks
          • Webhooks Setup for Microsoft Teams
      • Logs
      • Metadata
      • Batch Mode
  • Dynamics 365 CRM Replication
    • Introduction
    • Getting Started
    • Running Replication
      • Dynamics 365 CRM Replication Setup
      • Configure Database
      • Configure Objects
      • Scheduling Jobs
  • Salesforce HealthCloud Replication
    • Introduction
    • Core Concepts
    • Getting Started
    • Running Salesforce Health Cloud Replication
      • Salesforce HealthCloud
      • Database
        • Azure Active Directory Setup Process
      • Objects
      • Restore
      • Schedule Jobs
      • Notifications
        • Email
        • Webhooks
      • Logs Screen
  • Database Replication
    • Introduction
    • Core Concepts
    • Start Replication
    • Running Replication
      • Source
      • Target
      • Objects
      • Scheduler
      • Notifications
        • Email
        • Webhooks
      • Logs
  • More information
    • Troubleshooting
      • Tomcat
      • Out of Memory Exception
      • Mismatch in Datasize
      • Unable to Create Sequence in Oracle DB
      • Single File Logging
      • Row Size greater than 64kb in MySQL
      • Secure your App using credentials
      • Update Salesforce/MS CRM Org ID
      • Incorrect Syntax Near Column Name
      • SSL Configuration in DBSync Tomcat
    • Release Notes
      • Release 8.0
      • Release 8.1
      • Release 8.2
      • Release 8.3
Powered by GitBook
On this page
  1. More information
  2. Troubleshooting

Mismatch in Datasize

PreviousOut of Memory ExceptionNextUnable to Create Sequence in Oracle DB

There is a possibility that Data Type Size of Salesforce field may not match with database field after replication.

Example: Salesforce field with API name Bank_c and Data Type Text(255) is replicated as Bank_c (nvarchar(765),null). Here Data Type of replication is fine but not the Data Size. Data Type size in database is replicated as 765 characters instead of 255 characters.

Solution:

To resolve this issue, the below steps must be followed.

  • Download the latest version (6.0) of the ZIP or EXE file of the DBSync Cloud Replication tool from DBSync website using the URL (If the latest version of DBSync Cloud Replication is already installed, this step must be ignored).

  • System Properties must be accessed from the installation folder DBSyncCReplSF3. The following path can be referred dbsync-repl > WEB-INF > db > conf > system.properties

  • Open System.properties, at the end of the file identify the below mentioned commands as shown in the screen capture.

data structure matchup to DBAMP for multibyte use nchar(8), for single byte use char(8) =nchar(18) force.date=datetime2(7) force.datetime=datetime2(7)

  • Uncomment these commands as shown in the screen capture.

  • Save System.Properties & restart the server before running the replication. After replication Data Type Size in Database will be same as Salesforce.

http://mydbsync.com/integration/cloud-replication-for-salesforce
force.id