<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fuzzybsd</author_name>
  <author_url>https://blog.hatena.ne.jp/fuzzybsd/</author_url>
  <blog_title>ソフトウェアスペシャリストへの道</blog_title>
  <blog_url>https://fuzzybsd.hatenadiary.org/</blog_url>
  <categories>
    <anon>ruby</anon>
    <anon>rails</anon>
  </categories>
  <description>railsに置いてトランザクションを実行するにあたって、分離レベルの設定方法がわからなくて調べてみた。ソースを追ってみると、どうも各DBMSのアダプタ実装に依存するようだ。 # ./rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:262: class MysqlAdapter このように、begin_db_transactionメソッドにて、&quot;BIGIN&quot;が実行されているだけなので、mysql(InnoDB)のデフォルト分離レベルである&quot;REPEATABLE READ&quot;が適用される。因みに、po…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffuzzybsd.hatenadiary.org%2Fentry%2F20080602%2F1212375959&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>2008-06-02 12:05:59</published>
  <title> トランザクションの分離レベル</title>
  <type>rich</type>
  <url>https://fuzzybsd.hatenadiary.org/entry/20080602/1212375959</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
