<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Naotsugu</author_name>
  <author_url>https://blog.hatena.ne.jp/Naotsugu/</author_url>
  <blog_title>A Memorandum</blog_title>
  <blog_url>https://blog1.mammb.com/</blog_url>
  <categories>
  </categories>
  <description>はじめに この記事は、以下の記事の補足説明です。 blog1.mammb.com 識別子による外部の集約の参照 集約ルートである以下のような Order がある。 @Entity public class Order { @Id private Long id; @OneToMany private List&lt;LineItem&gt; lineItems; @ManyToOne private Customer customer; } 注文明細である lineItem は Order の集約に属するが、Customer は集約の外側にある。 同一のトランザクションで、参照する側の Order と、参…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog1.mammb.com%2Fentry%2F2024%2F07%2F20%2F000000&quot; title=&quot;外部集約ルート参照の関連を表現する Association オブジェクト - A Memorandum&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-07-20 00:00:00</published>
  <title>外部集約ルート参照の関連を表現する Association オブジェクト</title>
  <type>rich</type>
  <url>https://blog1.mammb.com/entry/2024/07/20/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
