<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mtoyoshi</author_name>
  <author_url>https://blog.hatena.ne.jp/mtoyoshi/</author_url>
  <blog_title>mtoyoshi開発メモ</blog_title>
  <blog_url>https://mtoyoshi.hateblo.jp/</blog_url>
  <categories>
    <anon>GAE/J</anon>
  </categories>
  <description>更新処理は特に専用のメソッドはなく、状態を変更すれば自動的に更新がかかる。これはhibernateと同じ動きなので特に違和感は無い。ただ、なぜかうまく更新がかからなかったケースがあったのでご紹介。 アクセッサメソッドを作るのをさぼって、メンバ変数をpublicにした状態でプログラム組んでいたんですが、こんな風に変更をかけても更新されず。 someEntity.count++; それをこのようにメソッド経由でやると更新がかかった。もちろんincrementメソッド内はcount++を実行しているだけ。 someEntity.increment(); 何度かやったので勘違いではないと思うのですが、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmtoyoshi.hateblo.jp%2Fentry%2F20090506%2F1241612116&quot; title=&quot;update - mtoyoshi開発メモ&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>2009-05-06 21:15:16</published>
  <title>update</title>
  <type>rich</type>
  <url>https://mtoyoshi.hateblo.jp/entry/20090506/1241612116</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
