Matching Schemas with Oracle8i Lite

You can run existing business components against Oracle8i Lite as long as your schemas match and you keep in mind some limitations using Oracle8i Lite. You will not need to regenerate business components or modify SQL strings.

To run existing business components against Oracle8i Lite:

  1. Edit your Oracle8i connect string to use an Oracle8i Lite connection.

    URL = "jdbc:polite:POLITE"
    user = "scott"
    password = "tiger"

    Oracle8i Lite requires the three-argument form of the connection string.

  2. Be sure your view objects use JDBC style parameter binding.

    1. In the Workspace view of the Navigation Pane, right click a view object and choose Edit.

    2. Click the Query tab.

    3. Select Use ? style parameters.

    4. Repeat for each view object.

  3. Change the SQLBuilder parameter to use an Oracle8i Lite database. There are several ways to achieve this, depending on if you want to modify the project locally, distribute the Oracle8i Lite capability to other developers, or toggle between Oracle8i Lite and Oracle8i databases.

jbo.SQLBuilder=OLite

-Djbo.SQLBuilder=OLite

  1. Add these Java libraries on the Libraries tab of the Project Properties dialog box:

    Oracle8i Lite
    JBO Generic Domains

    Note: By default JDeveloper installs an Oracle8i Lite library that points to C:\orant\; however, if you installed Oracle8i Lite in another location, you will need to change the library to use it.

  2. If present, you must remove these libraries from the list to ensure your project does not use conflicting domain implementations:

    JBO Oracle Domains
    Oracle8i JDBC