<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gloryof</author_name>
  <author_url>https://blog.hatena.ne.jp/gloryof/</author_url>
  <blog_title>シュンツのつまづき日記</blog_title>
  <blog_url>https://gloryof.hatenablog.com/</blog_url>
  <categories>
    <anon>JPA2.0</anon>
  </categories>
  <description>今回はロックについてです。 【前提条件】 [環境] JDK 1.7.0_07 Glassfish 3.1.2.2 PostgreSQL 9.1(JDBC:postgresql-9.1-901.jdbc4.jar） [その他] JPAの設定が完了している*1 【概要】 ロック制御はJPAのAPIにより制御を行うことができます。悲観的ロック、楽観的ロックの両方に対応していますが、 サンプルでは楽観的ロックを使用します。 【サンプルコード】 [テーブル] 今回は「goods」テーブルを新しく作成します。 CREATE TABLE goods ( goods_code character varyin…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgloryof.hatenablog.com%2Fentry%2F20120926%2F1348666640&quot; title=&quot;ロック制御 - シュンツのつまづき日記&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>2012-09-26 22:37:20</published>
  <title>ロック制御</title>
  <type>rich</type>
  <url>https://gloryof.hatenablog.com/entry/20120926/1348666640</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
