<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>posturan</author_name>
  <author_url>https://blog.hatena.ne.jp/posturan/</author_url>
  <blog_title>Oboe吹きプログラマの黙示録</blog_title>
  <blog_url>https://oboe2uran.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>MySQL で、Oracle SEQUENCE と同様の機能を作成する方法は、ネットで多く紹介されてる。 FUNCTION を用意してiBATIS3(myBatis) でシーケンス値取得を整理した。 MySQL シーケンスの代用テーブルを用意 CREATE TABLE sequence (id INT UNSIGNED NOT NULL); １行作成しておく。 INSERT INTO sequence VALUES (0); ファンクションを用意する CREATE FUNCTION nextSequence() RETURNS INT BEGIN UPDATE sequence SET id=…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Foboe2uran.hatenablog.com%2Fentry%2F2010%2F10%2F30%2F120508&quot; title=&quot;MySQL  SEQUENCE  iBATIS3 で。。。 - Oboe吹きプログラマの黙示録&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>2010-10-30 12:05:08</published>
  <title>MySQL  SEQUENCE  iBATIS3 で。。。</title>
  <type>rich</type>
  <url>https://oboe2uran.hatenablog.com/entry/2010/10/30/120508</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
