Create and extend value objects

When you retrieve values from the HCL Informix® database by using the , the values are returned as value objects. Value objects are created by the Object Interface for C++ by using an extensible class factory that maps Informix data types to C++ objects.

Important: Only Informix supports extensible data types. Therefore, the information in this section applies only to Object Interface for C++ applications that connect with Informix databases.

The value object approach enables DataBlade® developers to create objects that represent new server data types and ensures that client applications can operate with these new data types. Client applications that use the value object approach do not depend on the representation of the object in the database and continue to run if the database representation and the corresponding value object implementation changes. For details about library support for value objects, see Dynamic loading.