<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tomotomo1129</author_name>
  <author_url>https://blog.hatena.ne.jp/tomotomo1129/</author_url>
  <blog_title>Web開発における知見共有系ページ</blog_title>
  <blog_url>https://job-info.hateblo.jp/</blog_url>
  <categories>
    <anon>Mybatis</anon>
    <anon>SQL</anon>
  </categories>
  <description>Mybatisで排他制御のやり方 MyBatisでの排他制御 1. 楽観的排他制御 2. 悲観的排他制御 実装のポイント Mybatisで排他制御のやり方 MyBatisでの排他制御 MyBatisで排他制御を行うための方法として、楽観的排他制御と悲観的排他制御の2つがあります。 ここでは、それぞれの方法について、testUserというテーブルと対応するTestUserクラスを例に解説します。 1. 楽観的排他制御 楽観的排他制御では、更新対象のレコードにバージョン番号やタイムスタンプなどを持たせ、更新時にその値をチェックします。 更新時に値が変わっていなければ更新を許可し、変わっていれば更新…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjob-info.hateblo.jp%2Fentry%2F2024%2F08%2F10%2F205454&quot; title=&quot;Mybatisで排他制御のやり方 - Web開発における知見共有系ページ&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>2024-08-10 20:54:54</published>
  <title>Mybatisで排他制御のやり方</title>
  <type>rich</type>
  <url>https://job-info.hateblo.jp/entry/2024/08/10/205454</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
