|
|
|
|
|
HSetReplication (Function) In french: HGèreRéplication
 Not available with these kinds of connection
Temporarily disables (or re-enables) the replication. Replication can be a log-based replication or a universal replication. Replication between HFSQL data files is enabled by default. When the replication is "disabled", you have the ability to access the HFSQL Classic data files without storing the information required by the replication. It is then necessary to re-enable replication. Caution: This function should only be used by experienced programmers. It is not recommended to temporarily disable replication and make changes to the data files. Indeed, problems may occur during the synchronization.
HSetReplication(rplReplicationUniversal)
Syntax
Log-based replication (between HFSQL databases) or universal replication Hide the details
<Result> = HSetReplication(<Management mode>)
<Result>: Integer constant Old replication mode (before the modification): | | rplReplicationDisabled | Replication was not supported before HSetReplication was called. | rplReplicationLogged | Log-based replication between HFSQL data files was enabled before the call to HSetReplication. | rplReplicationUniversal | The replication performed before calling HSetReplication was a universal replication (between HFSQL data files and data files handled by a Native Connector, for example). Note: for compatibility with previous versions, the constant rplReplicationHeterogeneous can be used. |
<Management mode>: Integer constant New mode to use: | | rplReplicationDisabled | Temporarily disables replication. | rplReplicationLogged | Allows you to perform a log-based replication between HFSQL data files (uses the HFSQL data files with logs). | rplReplicationUniversal | Used to perform a universal replication (between an HFSQL database and an Oracle database for example). Note: for compatibility with previous versions, the constant rplReplicationHeterogeneous can be used. |
Remarks - The log process is disabled when the replication is disabled. The log process can be re-enabled by HSetLog.
- Caution: Records added or modified after replication has been temporarily disconnected will not be updated or created when replication is reactivated.
Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|