Orm Structural Mapping

Mapping the structure of an object model onto tables: Identity Field, Foreign Key Mapping, Association Table Mapping, Dependent Mapping, Embedded Value and Serialized LOB. Use when choosing an identifier strategy or when a generated identity breaks batching, when a bidirectional association updates the wrong side and no foreign key is written, when a many-to-many link already has attributes, when child rows are given repositories of their own, when a value type is flattened into columns or hidden in a JSON column, or when a collection is deleted and reinserted on every save. Does not cover subtype mapping (inheritance-mapping-strategies), where the mapping lives (metadata-mapping), runtime fetch behaviour (orm-behavioral-patterns), or which data-access pattern to use in the first place (data-source-patterns).

robsonkades 6e16bd3 4 files · 31.8 KB Updated

File contents

robsonkades/agent-skills/tree/main/skills/orm-structural-mapping commit 6e16bd3cae

Frequently asked questions

npx skillmds@latest add robsonkades/orm-structural-mapping