<?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>
    <anon>mybatis</anon>
  </categories>
  <description>開発プロジェクトの方針にSQL文に固定値を記述するのを絶対に禁止とか 融通の効かない、賛同できないことが時々ある。 プロジェクトによってそういうのもあって苦労するのだが、mybatis には OGNL書式が使える OGNL（Object Graph Navigation Language） のことである。例） &lt;select id=&quot;getItems&quot; resultType=&quot;org.sample.dto.Gstore&quot;&gt; SELECT g.* FROM group_stores g LEFT JOIN (SELECT id FROM items WHERE view_code IN ( '1…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Foboe2uran.hatenablog.com%2Fentry%2F2022%2F07%2F02%2F153753&quot; title=&quot;mybatis で固定値をSQL Mapで指定するにはOGNL式を使う - 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>2022-07-02 15:37:53</published>
  <title>mybatis で固定値をSQL Mapで指定するにはOGNL式を使う</title>
  <type>rich</type>
  <url>https://oboe2uran.hatenablog.com/entry/2022/07/02/153753</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
