skip to main content
Using the driver : Creating and Customizing Schemas Using the DataDirect Schema Tool : Customizing Your Schema : Mapping Native Objects in a Schema : Mapping Newly Detected Objects
  

Try DataDirect Drivers Now
Mapping Newly Detected Objects
When you open an existing schema with the Schema Tool, the Schema Tool automatically compares the content of the schema configuration file to a new sample of the data from the server. When new native objects are detected, the Schema Tool identifies the newly detected objects by highlighting the objects in a hierarchical view of the native data. This information is displayed in the New Native Objects window which opens over the Schema Tool's main display window. In the following example, a number of new objects have been discovered:
new native objects window
If you want to include all the new objects in your schema, click the Update Schema button. All new objects in the view will be added using the same relational view as the initial view you selected for your schema in Creating a Schema with the Table Wizard. For example, if you selected a normalized initial view, the objects will be normalized when they are added to the schema. For schema maps with a custom initial view, new objects are added using a normalized view.
Alternatively, you can add new objects manually as described in Mapping Native Objects. By manually adding the objects, you can choose which new objects are added to your schema as well as customize how they map to the relational view, including whether they are flattened or normalized. You can leave the New Native Objects window open as a reference while you modify your schema. Keep in mind that this window is a partial view of the native data: it highlights new objects and displays the parents of new objects to show where they are located.
After you are done reviewing the new native objects view, you can close the window. This view will remain available until you save your schema. Once you save, any new objects not added to the schema will be removed from the view. To reopen the window, click the New Native Objects button .
Note: You can map new native objects without using the Schema Tool by executing the REFRESH MAP statement. See the "Refresh Map (EXT)" topic for details.