<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>unyaunya</author_name>
  <author_url>https://blog.hatena.ne.jp/unyaunya/</author_url>
  <blog_title>unyaunyaの日記</blog_title>
  <blog_url>https://unyaunya.hatenadiary.org/</blog_url>
  <categories>
    <anon>PHP</anon>
    <anon>symfony</anon>
  </categories>
  <description>ようだ。主キー以外にunique制約を加えたカラムをforeignKeyとして指定しても、こんな感じのコードが生成され、内部でretrieveByPKメソッドが使用されるので、外部キーで関連付けたオブジェクトを正しく取得できない。 public function getSectionRelatedByParentId($con = null) { if ($this-&gt;aSectionRelatedByParentId === null &amp;&amp; ($this-&gt;parent_id !== null)) { include_once 'lib/model/om/BasesfIdmSectionPe…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Funyaunya.hatenadiary.org%2Fentry%2F20080601%2Fp1&quot; title=&quot;PropelのforeignKeyは、主キー制約しか想定していない - unyaunyaの日記&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>2008-06-01 00:00:00</published>
  <title>PropelのforeignKeyは、主キー制約しか想定していない</title>
  <type>rich</type>
  <url>https://unyaunya.hatenadiary.org/entry/20080601/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
