User guide

Data Integration with Sybase Avaki Studio 91
Deploying metadata models
Step 5
Point your application at either the database or Avaki; no further changes are required.
Note Pointing the application at Avaki means you are connecting to Avaki via
JDBC. See “Deploying metadata models,” below, for information on naming con-
ventions for mapped tables.
Deploying metadata models
Deploying a metadata model makes the data services, database operations, or provi-
sioned tables that are mapped to the model’s tables accessible by the table names in the
model through JDBC.
Note When you deploy a metadata model, the mapped tables are deployed and
any unmapped tables are silently ignored.
Follow these steps to deploy your metadata model into the data catalog.
Step 1 When you are ready to deploy your model to the grid, right-click the table you just
mapped and select Deploy from the submenu.
Step 2 Type a name in the Model Name field.
Note The Model Name field accepts two-part names of the form
[<catalog>.]<schema>, where the optional <catalog> part defaults to your Avaki
domain name and <schema> is the arbitrary name you give this model. The string
you enter must contain no spaces or punctuation other than - (hyphen), _ (under-
score), and at most one . (period). The names of mapped tables in the model,
then, have three parts: [<catalog>.]<schema>.<table>. If you choose to enter the
database name as the model name (<schema>), you can refer to objects mapped
to tables in this model as [<catalog>.]<database>.<table>.
Step 3 Click OK. If Avaki Studio encounters errors, a message appears. Otherwise the
deployment begins.