Informix Online Documentation |
Date: 6/30/2000
Version: 1.10
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.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.
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.
To use Informix Object Translator with the Microsoft Visual Basic development environment, your client computer requires the following software:
To use Informix Object Translator with the Visual Cafe development environment, your client computer requires the following software:
To use Informix Object Translator with any Java development environment, your client computer requires the following software:
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.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
The User Manager dialog box appears.
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.
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.
This section describes the recommended order of installation of software products for the various development environments.
If you are using the Microsoft Visual Basic development environment, install the software products in this order:
If you are using the Visual Cafe development environment, install the software products in this order:
If you are using any Java development environment, install the software products in this order:
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
This extracts the Object Translator files and starts an InstallShield wizard that guides you through the installation.
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 To launch Informix Object Translator from Visual BasicYou can access Informix Object Translator documentation from the Informix Object Translator GUI, from the Windows Start menu, and from the product Web site.
After you have installed Informix Object Translator, you can access the following documentation from the product GUI:
This type of help is called What's This? help.
This section describes how to access this documentation.
To access overview and procedural online help
The Help Topics window appears.
The What's This? pointer appears (a question mark is added to your arrow-shaped pointer).
Online help for the selected element appears in a popup window.
The What's This? pointer appears (a question mark is added to your arrow-shaped pointer).
Online help for the selected page or pane appears in a popup window.
The What's This? pointer appears (a question mark is added to your arrow-shaped pointer).
Online help for the selected property appears in a popup window.
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:
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:
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.
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
The ODBC Data Source Administrator dialog box appears.
The Create New Data Source dialog box appears.
The ODBC Driver Setup dialog box appears.
If you are using INTERSOLV ODBC Driver for Informix, you must also set these options on the Advanced page:
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.
The data source is displayed in the User DSN page or the System DSN page of the ODBC Data Source Administrator dialog box.
For information on the Model Viewer, see the "Procedures" section of the Informix Object Translator online help.
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
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.
For information on the Model Viewer, see the "Procedures" section of the Informix Object Translator online help.
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
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:
Blank spaces are not allowed in the URL.
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.