This illustration describes using the Object Type Translator (OTT) with OCCI.
SQL DDL statements are used to create type definitions in the database.
OTT takes the INTYPE file, along with the type definitions, and generates the OUTTYPE file, CPPFILE file, MAPFILE file, and HFILE file.The HFILE file generated by OTT is included in the OCCI source code file.
The compiler then uses as input, the OCCI source file, CPPFILE file, and MAPFILE file to generate the object file.
The object file and the OCCI Library are then linked by the linker to create the executable module.