URL Attributes for Synchronization
Page 2 of 4

convertToSource=true

Function

The convertToSource attribute converts a non-synchronization-enabled database to a source database. The convertToSource attribute has two possible values: true and false. The default is false.

NOTE: You cannot convert a target database to a source database.

Set the convertToSource attribute only once, at the time you convert the non-synchronization-enabled database to a source database.

Using convertToSource in a database connection URL raises an SQL exception if any of the following is true:

  • The database was created using a previous version of Cloudscape.
  • The database connection URL also upgrades the database to the current version of Cloudscape.
  • The database is a target.
  • The database is already booted.
  • Any of the following attributes are also specified on the database connection URL:
    • create
    • createSource
    • createTargetFrom

Example

The following database connection URL converts a non-synchronization-enabled database to a source database on a local Cloudconnector server:

jdbc:cloudscape:weblogic:MyNonSyncDB;convertToSource=true