Jump to main content
Product Documentation
Customer Support
HCL OneDB V 1.0.1.0
What's new in
HCL OneDB™
1.0.1.0
Getting Started
Installing
Administering
Security
Client APIs and tools
SQL programming
JSON compatibility
Extending
HCL OneDB™
Designing databases
Embedding
HCL OneDB™
Release information
Search
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 Kit
The
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 Guide
The
HCL OneDB™
DataBlade®
Developers Kit Users Guide
describes how to use
OneDB® DataBlade® Developers Kit (DBDK)
tools to develop and package
DataBlade®
modules.
Programming
DataBlade®
modules in Java™
This section contains information to help you edit and compile Java™ language source code generated by BladeSmith.
The generated code
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®
modules
These 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 Reference
The
HCL OneDB™ DataBlade® API Function Reference
describes the
DataBlade® API
functions and the subset of functions that the
DataBlade® API
supports.
DataBlade®
Developers Kit
The
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 Guide
The
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.
Prerequisite tasks
Java™ programming task overview
Source files generated by BladeSmith
When you create objects, BladeSmith generates the source files; some file names are prefixed with the name of the
DataBlade®
module (indicated by
project
). By default, BladeSmith creates the source files in the
src
and
src\java
subdirectories of the directory that contains the BladeSmith project file.
The generated code
Comments in generated code
BladeSmith adds comments to the code it generates. Each routine begins with a prologue that describes the purpose of the routine, its arguments, and its return value. Comments throughout the code describe variable declarations and the results of generated Java™ statements and routine calls.
Logging and error handling
BladeSmith adds logging and error handling code throughout the generated source code.
BladeSmith utility classes
Edit methods
Compiling
DataBlade®
module Java code
BladeSmith generates the
Project_Java.mak
makefile in the
src\java
directory. Use this makefile to compile Java™ code from the command line on UNIX™ and Windows™.
Debug and test
DataBlade®
Modules written in Java™
This section describes debugging and performing functional tests on
DataBlade®
module routines written in Java™.
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.
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™
.
The generated code
Comments in generated code
BladeSmith adds comments to the code it generates. Each routine begins with a prologue that describes the purpose of the routine, its arguments, and its return value. Comments throughout the code describe variable declarations and the results of generated Java™ statements and routine calls.
Logging and error handling
BladeSmith adds logging and error handling code throughout the generated source code.
BladeSmith utility classes