Including Data from an Oracle Database into a Mongoose Application
Mongoose-based applications can communicate with Oracle databases through the IDO layer. To set up communication, use these steps:
If you want to link to a non-Unicode database, use the Process Defaults form to set the process default for Non Unicode Literal. This ensures that the database indexes are scanned and accessed properly when performing queries.
Notes about the process:
- The profile that is stored with an IDO definition is used to make an ApplicationDB object within the IDO layer for read and write operations on the table, as well as for method calls to that database.
- As an alternative to building an IDO through the wizard, which
allows basic read-write functionality to the Oracle database, you can use
IDORuntime.Context.CreateOutriggerApplicationDB in a custom program to provide
direct access to the outrigger database.
See Example: Custom Code to Communicate with an Outrigger Database for a code sample that uses this assembly.
- The standard Oracle client DLLs are required on the Mongoose utility server. Non-direct mode is used for communications.
- Asynchronous event handlers cannot be used when communicating with Oracle databases.
- User-defined fields cannot be used when communicating with Oracle databases.
- All Oracle tables referenced in an IDO must exist in the same Oracle database
- RowPointer and RecordDate properties are used by Mongoose but do not exist in Oracle tables, so those IDO properties are derived instead of pointing to base table columns.
- A called Oracle IDO method must be a function with a return type of integer.