Code (that implements methods) should be stored in the database as part of the schema, along with type definitions, but many implementations store them outside of the database, to avoid having to integrate system software such as compilers with the database system.
Data: stored individually for each object.
Figure 8.7: Example of ODMG C++ Object Definition Language