Oracle Waveset 8.1.1 Deployment Guide

Generating a New Factory Class

Waveset allows you to add custom User and Role attributes to the ObjectClass schema. These attributes, known as extended attributes, cannot be exported unless you also add them to the export schema, regenerate the Warehouse Interface Code (WIC), and deploy the code.

When extended attributes are added, you will need to edit the export schema control file and add the attributes. If attributes are to be excluded from the exporter, then you can simply mark the schema fields with exported=’false’ and regenerate the WIC code.

To modify the WIC code you will need the following installed on your system

The steps required to export extended attributes are as follows:

ProcedureTo Export Extended Attributes

  1. Get the WIC source code from the REF kit

  2. Set the WSHOME environment variable to the installation directory of Waveset

  3. Back-up the export schema control file $WSHOME/model-export.xml then edit it.

  4. Change directories to the WIC source top-level directory. This directory should contain files named build.xml, BeanGenerator.java, and HbmGenerator.java.

  5. Stop the application server.

  6. Remove CLASSPATH from the environment.


    Note –

    You must remove CLASSPATH from the environment before performing executing ant rebuild in the next step.


  7. Rebuild the WIC code with the ant rebuild command.

  8. Deploy the modified WIC code to the application server with the ant deploy command.

  9. Restart the application server.


    Note –

    If you change model-export.xml and rebuild the WIC as shown in the preceding steps, a new warehouse DDL is generated. You must drop the old tables and load the new DDL, which deletes any data that is already in the tables.