Proxy Tables (ASE/SQL Anywhere)

A proxy table is used to access data in a remote table, it has all the attributes of the remote table, but it does not contain any data locally.

PowerDesigner uses an extension file to provide support for generating the script for a proxy table in order to run it in a Sybase ASA or ASE database. To enable the proxy table extensions in your model, select Model > Extensions, click the Import tool, select the Proxy Tables file (on the General Purpose tab), and click OK to attach it.

After designing the proxy tables, you can use the build data source feature that will create a data source for each target model of the current model. Target models are models containing the target tables of the replica or external shortcuts, they are also called remote servers.

Once the data sources are properly defined, you can use the extended generation feature to generate the proxy table and remote server creation scripts.

The ProxyTables extension file contains generation templates, extended attributes, custom checks and custom methods to support the definition of external proxy tables. Double-click the Proxy Tables extension file (in the Extensions folder) in the Browser to open it in the Resource Editor for review. The following extensions must be defined in the Profile category to fully support proxy tables: