Chapter 9 Working with Object-Oriented Models
A data source, includes the following properties:
| Property | Description |
|---|---|
| Name | Name for the data source |
| Code | Reference code for the data source |
| Comment | Descriptive label for the data source |
A data source also includes the following properties:
The Models tab lets you define the list of models representing one database. This database is the source and store of data for the OOM where you define a data source. You use the Add Models tools to open a selection dialog box, you must select among models opened in the current workspace.
The Database Connection tab lets you define the following parameters to connect to a database:
| Parameter | Description |
|---|---|
| Using an ODBC data source | ODBC data source associated with the database |
| Using a connection string | Allows to connect to a database via other means than ODBC. A connection string is a series of semicolon delimited arguments that define parameters such as the data source provider and the location of the data source. For example, the connection string for jConnect is:
jdbc:sybase:Tds:machine-name:port-number |
| User ID | User login |
| Password | User password |
| Copyright (C) 2006. Sybase Inc. All rights reserved. |
| |