Global prefix for Table & Column names

It is advisable to prefix table & column names while replicating Source into Database. Now DBSync Cloud Replication allows including prefix for table & column names globally for all the profiles in Replication console. Also each profile can have different prefix. This section shows the steps involved in including prefix for table and column name.

Global prefix

  • To include prefix on table & column names of all the profiles, go to system.properties in the below path.

<<Installation Folder>>\dbsync-repl\WEB-INF\db\conf

  • Include the prefix in the below commands of system.properties

column.prefix=<<prefix>> table.prefix=<<prefix>>

  • Example:

column.prefix=sfc table.prefix=sft

Profile prefix

  • To include prefix on table & column names of any specific profile go to config.properties under that specific profile in the below path. All the profiles will listed. Open the required profile folder to find config.properties

<<Installation Folder>>\dbsync-repl\WEB-INF\db

  • Include the prefix in the below commands of config.properties

column.prefix=<<prefix>> table.prefix=<<prefix>>

  • Example:

column.prefix=sfc table.prefix=sft