Informix
Informix Online Documentation

INSTALLATION NOTES FOR

Informix Object Translator

Date: 6/30/2000

Version: 1.10


Table of Contents

I. Introduction
II. System Requirements
A. Requirements for All Environments
B. Requirements for the Microsoft Visual Basic Development Environment
C. Requirements for the Visual Cafe Development Environment
D. Requirements for any Java Development Environment
III. Installing Informix Object Translator
A. Administrative Privileges
B. Order of Installation
C. Installing Informix Object Translator
IV. Launching Informix Object Translator
V. Accessing Informix Object Translator Documentation
A. Accessing Documentation from the Product GUI
B. Accessing Documentation from the Start Menu
C. Accessing Documentation from the Object Translator Web Site
VI. Creating and Connecting to a Data Source
A. Creating and Connecting to an ODBC Data Source
B. Connecting to an OLEDB Data Source
C. Connecting to a JDBC Data Source


I. Introduction

These installation notes provide system requirements, installation instructions, and other information to help you start using Informix Object Translator, Version 1.10.

IMPORTANT: Previous versions of this product were called OR Mapper and Object Mapper.

II. System Requirements

This section lists the software and hardware you need to use Informix Object Translator in any development environment and the software you need for the three development environments supported by Version 1.10: Microsoft Visual Basic, Visual Cafe, and any Java development environment.

A. Requirements for All Environments

To use Informix Object Translator, one of the following database servers must be installed on your server computer:

Your client computer requires the following hardware and software:

Version 1.10 was tested on these deployment environments, including environments on client computers: Java-supported platforms, Solaris, Linux, and HP.

B. Requirements for the Microsoft Visual Basic Development Environment

To use Informix Object Translator with the Microsoft Visual Basic development environment, your client computer requires the following software:

C. Requirements for the Visual Cafe Development Environment

To use Informix Object Translator with the Visual Cafe development environment, your client computer requires the following software:

D. Requirements for any Java Development Environment

To use Informix Object Translator with any Java development environment, your client computer requires the following software:


III. Installing Informix Object Translator

This section describes how to install Informix Object Translator.

IMPORTANT: To take advantage of the features added since the 1.0 or 1.10 Beta Refresh versions of Object Translator, you must regenerate your Object Translator projects.

A. Administrative Privileges

If your client computer is running Microsoft Windows NT or 2000, you must have administrator privileges to install most of the software products required to use Informix Object Translator.

To determine whether you have administrator privileges
  1. From the Start menu, choose Programs->Administrative Tools->User Manager.
  2. The User Manager dialog box appears.

  3. Double-click your user name.
  4. If the User Properties dialog box does not appear, you do not have administrator privileges. Contact your system administrator.

    If the User Properties dialog box appears, go to Step 3.

  5. Click Groups.
  6. Verify that Administrators appears in the Member of list box.
  7. If Administrators does not appear in the list box, you do not have administrator privileges. Contact your system administrator.

    If Administrators does appear, you do have administrator privileges and you can proceed with installation.

B. Order of Installation

This section describes the recommended order of installation of software products for the various development environments.

1. Microsoft Visual Basic

If you are using the Microsoft Visual Basic development environment, install the software products in this order:

  1. Visual Basic and the Informix Client SDK in any order
  2. Informix Object Translator

2. WebGain Visual Cafe

If you are using the Visual Cafe development environment, install the software products in this order:

  1. Visual Cafe and the Sun JDK in any order
  2. Informix JDBC Driver
  3. Informix Object Translator

3. Any Java Development Environment

If you are using any Java development environment, install the software products in this order:

  1. Sun JDK
  2. Informix JDBC Driver
  3. Informix Object Translator

C. Installing Informix Object Translator

This section describes how to install Informix Object Translator. For information on installing the other software products listed in the System Requirements section of these installation notes, see the documentation for those products.

To install Informix Object Translator
  1. Insert either the IIF.2000 CD (if you purchased Informix Internet Foundation 2000) or the Object Translator CD into your client computer's CD-ROM drive.
  2. Go to the Object Translator subdirectory and double-click setup.exe. (If you prefer to install using the Meta-Wrapper, you can launch the setup.exe of the Meta-Wrapper. Then check Object Translator on the product installation menu.)
  3. This extracts the Object Translator files and starts an InstallShield wizard that guides you through the installation.

  4. When the wizard prompts you for a serial number and key, type the serial number and key provided to you.
  5. When the installation is complete, you might need to reboot your computer before you launch Informix Object Translator.

IV. Launching Informix Object Translator

You can launch Informix Object Translator from the Windows Start menu or directly from Microsoft Visual Basic or Visual Cafe.

To launch Informix Object Translator from the Windows Start menu
  1. Click Start.
  2. Choose Programs->Informix Object Translator 1.10->Object Translator.
To launch Informix Object Translator from Visual Basic To launch Informix Object Translator from Visual Cafe

V. Accessing Informix Object Translator Documentation

You can access Informix Object Translator documentation from the Informix Object Translator GUI, from the Windows Start menu, and from the product Web site.

A. Accessing Documentation from the Product GUI

After you have installed Informix Object Translator, you can access the following documentation from the product GUI:

This section describes how to access this documentation.

To access overview and procedural online help
  1. Follow the instructions in the Launching Informix Object Translator section of these installation notes to launch Informix Object Translator.
  2. Choose Help->Contents from the Object Translator menu bar.
  3. The Help Topics window appears.

To access What's This? help for dialog boxes and wizards
  1. In a dialog box or wizard, click the question-mark button in the top right corner of the dialog box.
  2. The What's This? pointer appears (a question mark is added to your arrow-shaped pointer).

  3. Click the control (for example, a text box or button) for which you want to display help.
  4. Online help for the selected element appears in a popup window.

  5. Click a mouse button or press a keyboard key to close the popup window.
To access What's This? help for Object Translator console panes
  1. If the pane you want information about has multiple pages, click the tab of the page for which you want to display help.
  2. Click the arrow-and-question-mark button in the Object Translator toolbar.
  3. The What's This? pointer appears (a question mark is added to your arrow-shaped pointer).

  4. Click anywhere in the page or the Object Viewer pane, or click the Properties tab in the Properties Viewer pane.
  5. Online help for the selected page or pane appears in a popup window.

  6. Click a mouse button or press a keyboard key to close the popup window.
To access What's This? help for Object Translator properties
  1. In the Properties Viewer pane, click the property for which you want to display help.
  2. Click the arrow-and-question-mark button in the Object Translator toolbar.
  3. The What's This? pointer appears (a question mark is added to your arrow-shaped pointer).

  4. Click anywhere in the white portion of the Properties Viewer pane.
  5. Online help for the selected property appears in a popup window.

  6. Click a mouse button or press a keyboard key to close the popup window.

B. Accessing Documentation from the Start Menu

After you have installed Informix Object Translator, you can access the following documentation from the Informix Object Translator program group of the Windows Start menu:

C. Accessing Documentation from the Object Translator Web Site

Be sure to visit the Object Translator corner of the Informix Developer's Network (IDN) frequently for product news, examples, and other information. The URL for the Object Translator Web site is:


VI. Creating and Connecting to a Data Source

A data source is a logical name that combines references to a database-management software product, the remote operating system on which the software resides, and any network information necessary to access the software. The data source allows the driver software to find the database server.

Informix Object Translator allows you to access data from any ODBC, OLEDB, or JDBC data source.

A. Creating and Connecting to an ODBC Data Source

You can set up an Informix database as an ODBC data source, and then you can connect to that data source.

For complete information on setting up and using an ODBC driver, see the Informix ODBC Driver Programmer's Guide or the INTERSOLV DataDirect Driver User's Guide for Informix Database Servers.

To set up and connect to an Informix database as an ODBC data source
  1. In the Windows Control Panel, double-click the ODBC DataSources icon.
  2. The ODBC Data Source Administrator dialog box appears.

  3. To set up a data source just for your own use, use the User DSN page. To set up a data source accessible to other users, click the System DSN tab to display that page.
  4. Click Add.
  5. The Create New Data Source dialog box appears.

  6. Double-click the driver you want to use: Informix 3.30 32-bit (or higher) or INTERSOLV 3.11 32-bit Informix 9.
  7. The ODBC Driver Setup dialog box appears.

  8. Enter the following values into the General and Connection pages of the dialog box:
  1. If you are using Informix ODBC driver, click Test Connection on the Connection page to ensure that the connection works as expected.
  2. Regardless of the ODBC driver you are using, on the Advanced page of the dialog box, check Enable Scrollable Cursors.
  3. If you are using INTERSOLV ODBC Driver for Informix, you must also set these options on the Advanced page:

Important

If you are using the INTERSOLV ODBC driver for Informix, do not check the Get DB List from Informix option. Doing so can degrade performance.

  1. Click OK to close the ODBC Driver Setup dialog box.
  2. The data source is displayed in the User DSN page or the System DSN page of the ODBC Data Source Administrator dialog box.

  3. Click OK to close the ODBC Data Source Administrator dialog box.
  4. In the Object Translator GUI, connect to the ODBC data source when you use the Model Viewer's Import Model wizard to create a data model.
  5. For information on the Model Viewer, see the "Procedures" section of the Informix Object Translator online help.

B. Connecting to an OLEDB Data Source

Informix Object Translator allows you to access data from any OLEDB data source. You do not need to create an OLEDB data source; instead, you specify the connection information when you create an Object Translator OConnection object in your application.

For complete information on setting up and using the OLEDB driver, see the Informix OLEDB Provider Programmer's Guide.

To connect to an OLEDB data source
  1. Create an OConnection object in your application, setting the DataSource property to the full pathname of the database.
  2. For example, if you are using Microsoft Visual Basic, you might use the following line of code:

    MyOLEDBConn is the name of the Object Translator OConnection object you are creating.

    DataSource is the property you are setting.

    books is the name of the database.

    cvpc8_ol is the name of the database server.

  3. In the Object Translator GUI, choose the OLEDB driver and select the appropriate database server when you use the Model Viewer's Import Model wizard to create a data model.
  4. For information on the Model Viewer, see the "Procedures" section of the Informix Object Translator online help.

C. Connecting to a JDBC Data Source

Informix Object Translator allows you to access data from any Informix JDBC data source. You can also connect to Cloudscape via a JDBC connection in client/server mode or in embedded mode. You do not need to create a JDBC data source; instead, you provide a URL that specifies the connection information.

For complete information on setting up and using the Cloudscape Data Manager, see the Cloudscape documentation. For details on the Informix JDBC driver, see the Informix JDBC Driver Programmer's Guide.

To connect to a JDBC data source
  1. If you launch Informix Object Translator from Visual Cafe, make sure that the full pathname of the JDBC driver library file, for example, c:\ifxjdbc\lib\ifxjdbc.jar, is included in the CLASSPATH setting in the SC.INI file.
  2. In the Object Translator GUI, choose the JDBC driver and provide the connection URL when you use the Model Viewer's Import Model wizard to create a data model.
  3. For information on the Model Viewer, see the "Procedures" section of the Informix Object Translator online help.

    If you create additional data models using the JDBC data source, the same URL appears in the JDBC Logon dialog box. If you do not want your user ID and password displayed as part of the URL, do not include them in the URL. Instead, use the User ID and Password text boxes of the JDBC Logon dialog box to specify those values.

    If you are using an Informix database server, the URL must follow this format:

    
    

    The following example URL is in the correct format:

    If you are using a Cloudscape database server in embedded mode (the default), only one instance can run on Cloudscape. The URL for a Cloudscape database server in embedded mode must follow the format shown in this example:

    If you are using a Cloudscape database server in client/server mode, the URL must follow the format shown in this example:

Important

Blank spaces are not allowed in the URL.

Driver Class Names

For an Informix database server, the driver class name is:

For a Cloudscape database server in embedded mode (the default), the driver class name is:

For a Cloudscape database server in client/server mode, the driver class name is:

After you specify JDBC connection information in the Model Viewer component of Object Translator, the Items to Import dialog box (which displays all available objects in the database) appears. This indicates your connection is working.



Copyright © 2000, Informix Software, Inc. All rights reserved