Home | Previous Page | Next Page   Developing DataBlade Modules That Use the R-Tree Secondary Access Method >

Creating Registration Scripts for Dependent DataBlade Modules

After you create one or more user-defined data types, an operator class, and other objects, use the DBDK to package all the objects into an installable module.

All R-tree error messages are contained in the IBM Informix R-Tree Secondary Access Method DataBlade module. Therefore, you must always register the IBM Informix R-Tree Secondary Access Method DataBlade module into your database if you use the R-tree access method so that the correct error message is returned if you encounter an R-tree error.

When you develop a DataBlade module that uses the R-tree secondary access method, you can create a dependency on the IBM Informix R-Tree Secondary Access Method DataBlade module so that BladeManager automatically registers both DataBlade modules in the correct order. BladeManager is the IBM Informix product you use to register DataBlade modules in a database. You can use the DBDK to create a registration script that signals this dependency.

The dependency is signaled by importing an interface object provided by the IBM Informix R-Tree Secondary Access Method DataBlade module. During registration of the dependent DataBlade module, BladeManager checks interface dependencies and warns the user registering the DataBlade modules if the IBM Informix R-Tree Secondary Access Method DataBlade module is not already registered in the database.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]