Jump to main content
Product Documentation
Home Extending HCL OneDB™ Beyond standard relational database objects, HCL OneDB™ can be extended to handle specialized data types, access methods, routines, and other objects. HCL OneDB™ includes many built-in extensions that are fully integrated in the database server. HCL OneDB™ also provides DataBlade® modules, which are packages of extended database objects for a particular purpose and that are installed separately from the database server. Alternatively, you can create your own user-defined objects for HCL OneDB™ . Creating extensions You can create user-defined data types, routines, access methods, and other database objects to suit your needs. You can use application programming interfaces to write user-defined routines and applications that access data in HCL OneDB™ databases. DataBlade® Developers KitThe DataBlade® Developers Kit (DBDK) guides contain information about the tools you can use to develop and package DataBlade® modules, which extend the functionality of HCL OneDB™ databases. DataBlade® Developers Kit User's GuideThe HCL OneDB™ DataBlade® Developers Kit Users Guide describes how to use OneDB® DataBlade® Developers Kit (DBDK) tools to develop and package DataBlade® modules. BladePack BladePack creates installation packages for DataBlade® modules and other software products. Packaging for UNIX™ installations To package your DataBlade® module, you add content to a BladePack project, assign components, customize the installation procedure, and build the package. Customizing the installation Custom extensions for the installation program are optional. Your customization options depend on your operating system. Adding a custom program
Extending HCL OneDB™ Beyond standard relational database objects, HCL OneDB™ can be extended to handle specialized data types, access methods, routines, and other objects. HCL OneDB™ includes many built-in extensions that are fully integrated in the database server. HCL OneDB™ also provides DataBlade® modules, which are packages of extended database objects for a particular purpose and that are installed separately from the database server. Alternatively, you can create your own user-defined objects for HCL OneDB™ . HCL OneDB™ extensions and DataBlade® modulesThese topics describe how to use built-in database extensions and separately installed DataBlade® modules. Creating extensions You can create user-defined data types, routines, access methods, and other database objects to suit your needs. You can use application programming interfaces to write user-defined routines and applications that access data in HCL OneDB™ databases. DataBlade® API Function ReferenceThe HCL OneDB™ DataBlade® API Function Reference describes the DataBlade® API functions and the subset of functions that the DataBlade® API supports. DataBlade® Developers KitThe DataBlade® Developers Kit (DBDK) guides contain information about the tools you can use to develop and package DataBlade® modules, which extend the functionality of HCL OneDB™ databases. DataBlade Module Development Overview DataBlade® Developers Kit User's GuideThe HCL OneDB™ DataBlade® Developers Kit Users Guide describes how to use OneDB® DataBlade® Developers Kit (DBDK) tools to develop and package DataBlade® modules. Getting started with DataBlade® module development This section provides an overview of DataBlade® module development and describes the resources and tools the HCL OneDB™ database server provides to facilitate development. Design DataBlade® modules This section describes the DataBlade® module SQL design issues. Programming guidelines Use this section to help you when you write the design specification for your DataBlade® module. Create DataBlade® objects by using BladeSmith Use BladeSmith to create DataBlade® modules. Programming DataBlade® module routines in C This section contains information to help you edit and compile C language source code generated by DataBlade® . Create ActiveX value objects This section describes how to use the OneDB® DataBlade® Developers Kit (DBDK) to create ActiveX value objects. This section describes the use of C++ to implement opaque type support routines. The ActiveX value objects This section provides information for client application developers who are using ActiveX value objects. Programming DataBlade® modules in Java™ This section contains information to help you edit and compile Java™ language source code generated by BladeSmith. Debugging and testing DataBlade® modules on UNIX™ This section describes how to debug and perform functional tests for DataBlade® modules written in C for HCL OneDB™ on UNIX™. Debugging and testing DataBlade® modules on Windows™ This section describes how to debug and perform functional tests for DataBlade® modules written in C and C++ for HCL OneDB™ on Windows™. BladePack BladePack creates installation packages for DataBlade® modules and other software products. Prerequisite tasks BladePack overview BladePack produces installation packages for installing products on UNIX™ and Microsoft™ Windows™ operating systems. BladePack can create a simple directory tree containing files to be installed or an installation that includes an interactive user interface. Packaging for UNIX™ installations To package your DataBlade® module, you add content to a BladePack project, assign components, customize the installation procedure, and build the package. Building an installation package with BladePack Establish content Manage components BladePack allows you to organize your product installation package into three layers: component, subcomponent, and shared component. Customizing the installation Custom extensions for the installation program are optional. Your customization options depend on your operating system. Build the installation When the content and organization of your installation package are complete, build and test it. Create distribution media To ensure that customers can install DataBlade® modules and other HCL OneDB™ products by using common instructions, the product you distribute must conform to the HCL OneDB™ DataBlade® module installation standard. BladePack creates an interactive installation that ensures a consistent user interface. Packaging for InstallShield 3.1 installations To package your DataBlade® module, you add content to a BladePack project, assign components, customize the installation procedure, and build the package. Packaging for InstallShield 5.1 installations To package your DataBlade® module, you add content to a BladePack project, assign components, customize the installation procedure, and build the package. Appendixes This section contains additional reference information. DBDK InfoShelf The DataBlade® Developers Kit InfoShelf is designed to help you work with BladeSmith. J/Foundation Developer's Guide The HCL® J/Foundation Developer's Guide describes how to write user-defined routines (UDRs) in the Java™ programming language for HCL OneDB™ . User-Defined Routines and Data Types Developer's Guide The HCL OneDB™ User-Defined Routines and Data Types Developer's Guide describes how to define new data types and enable user-defined routines (UDRs) to extend HCL OneDB™ .
Adding a custom program
About this task
To add a custom program:
Procedure Choose Edit > Insert > Custom Program . Complete the Details tab in the item view. Choose Edit > Insert > Support File . Type the path and file name of the file containing the custom
routine, dialog box, or program or click Browse to
select the file from the Open dialog box.