<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>glass-_-onion</author_name>
  <author_url>https://blog.hatena.ne.jp/glass-_-onion/</author_url>
  <blog_title>A Day In The Life</blog_title>
  <blog_url>https://glassonion.hatenablog.com/</blog_url>
  <categories>
    <anon>java</anon>
    <anon>hibernate</anon>
  </categories>
  <description>Hibernateアノテーションでまたもやハマってしまいました...orz Immutableなクラスを作りたくてフィールドアクセスに変えようとしただけなのになぁ。 Hibernateでgetter/setterアクセスからフィールドアクセスに変更するには通常hbmファイルだと↓のようにaccess=&quot;field&quot;とするだけで簡単にできます。 &lt;hibernate-mapping&gt; &lt;class name=&quot;hoge.Book&quot; table=&quot;BOOK&quot;&gt; &lt;id name=&quot;isbn&quot; type=&quot;string&quot; unsaved-value=&quot;null&quot; &gt; &lt;column name=&quot;IS…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fglassonion.hatenablog.com%2Fentry%2F20071109%2F1194602907&quot; title=&quot;HibernateAnnotationsでフィールドアクセス - A Day In The Life&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>2007-11-09 19:08:27</published>
  <title>HibernateAnnotationsでフィールドアクセス</title>
  <type>rich</type>
  <url>https://glassonion.hatenablog.com/entry/20071109/1194602907</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
