<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rx78g</author_name>
  <author_url>https://blog.hatena.ne.jp/rx78g/</author_url>
  <blog_title>陋巷戦史</blog_title>
  <blog_url>https://rx78g.hatenadiary.org/</blog_url>
  <categories>
    <anon>技術</anon>
  </categories>
  <description>いよいよもってしてORマッピングの中でも重要な継承の実現に突入。今までの調査で面倒くさいからやっていなかったけど、本設計に入って継承が出てくるので、というか継承がないなんてアリエナイので。調査をしてみる。 ORマッピングによる継承の方法を調べてみると、 table per class hierarchy まずスーパークラスもサブクラスも同じテーブルで扱うという方法。この方法は日本語でも結構検索サイトが引っ掛かった。しかし、今回の場合はサブクラスそれぞれの属性が大きく異なるため、パフォーマンス的によろしくない。同じhbm.xmlファイルに全部のクラスのフィールドを書くのも面倒くさいしね。却下。 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frx78g.hatenadiary.org%2Fentry%2F20040914%2Fp1&quot; title=&quot;Hibernateでの継承 - 陋巷戦史&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>2004-09-14 00:00:00</published>
  <title>Hibernateでの継承</title>
  <type>rich</type>
  <url>https://rx78g.hatenadiary.org/entry/20040914/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
