Configuring an application to use the database

You configure the Datacap application for a DB2®, Microsoft SQL Server, or Oracle database by using Datacap Application Manager to set the encrypted connection strings that are stored in the application configuration (.app) file.

About this task

You use the Datacap Application Manager to configure the application to use the database. Datacap Application Manager works well with separate Test and Production environments because it stores the information that is specific to the Datacap application environment such as database locations and physical paths.

In a Test and Production paradigm, the physical applications are identical. The rules, workflows, page types, and other components, are identical, except for the *.app file. The difference between the environments is what the Datacap Application Manager stores. In the Test environment, the Datacap Application Manager stores the Test environment details while the Production system has its own unique environmental settings.

When you configure Datacap for a DB2, Microsoft SQL Server, or Oracle database, you can put the Administration, Engine, and Fingerprint schemas for the same application in a single database. You cannot put schemas for different applications in the same database.

For Oracle, each computer that accesses the database must have the Oracle 32-bit client software installed. A net service name must be created on that computer as well.

For DB2, if the user ID that created the database tables is different from user ID that is used in the connection string, you must also specify the user ID that created the database tables as the schema. To specify the correct schema, use the user ID in the connection string. Use CurrentSchema=user ID that created the tables.

Procedure

To configure an application to use the database:

  1. In the Start menu click IBM Datacap Services > Datacap Application Manager.
  2. Select a Datacap application. For example, select TravelDocs.
  3. Click the Main tab.
  4. In the Administration field, click Browse and select a database provider.
  5. Enter the database authentication information and click OK.
  6. In the Engine field, repeat the Administration database steps.
  7. Close the Datacap Application Manager.
  8. If you are using a Fingerprint or Lookup database, scroll down to the Workflows section and repeat these steps for each database.