Analyzing Data Type Deployment

Objective

After completing this lesson, you will be able to analyze deployment of new and modified data types.

Data Type Deployment

Now that you understand the fundamentals of the SAP Commerce Type System and how to configure and customize data types using the items.xml file, the next step is to see how these definitions are actually applied to the system - what we call data type deployment.

In the following video, you will learn how the SAP Commerce Type System is updated based on the definitions declared in items.xml. You will see how the platform reads your type definitions, how the underlying database schema is adjusted accordingly, and what essential processes take place to bring the type system in sync with your configuration.

Watch the video to see how data type deployment works in practice.

Summary

  • Data type deployment updates the SAP Commerce Type System and database schema based on items.xml definitions.
  • Subtypes deploy to their parent's table by default, or to their own table via a deployment tag with a unique typecode.
  • References are stored as persistence keys, and many-to-many relations require a deployment tag to create a link table.
  • Direct subtypes of GenericItem should always specify a deployment table to avoid performance and storage issues.