<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ymraintree</author_name>
  <author_url>https://blog.hatena.ne.jp/ymraintree/</author_url>
  <blog_title>コードの波にゆーらゆら</blog_title>
  <blog_url>https://ymraintree.hatenadiary.org/</blog_url>
  <categories>
    <anon>EJB</anon>
  </categories>
  <description>アプリケーションのチューニングをして、DBにインデックスを張りたいとき、SQLを直に実行してしまうと移植時などに忘れてしまうことがあるので、Entity Bean内に書いておきたい。調べると、 @Table(indexes = {@Index(name=&quot;customer_idx&quot;, columnNames = {&quot;customerCd&quot;, &quot;customerKbnCd&quot;}), @Index(name=&quot;customer_idx2&quot;, columnNames = {&quot;seikyuDate&quot;})}, appliesTo = &quot;customer&quot;)などと書ける。しかしいくらデプロイしてもインデック…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fymraintree.hatenadiary.org%2Fentry%2F20111114%2F1321264210&quot; title=&quot;Entity BeanでCREATE INDEXする - コードの波にゆーらゆら&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>2011-11-14 18:50:10</published>
  <title>Entity BeanでCREATE INDEXする</title>
  <type>rich</type>
  <url>https://ymraintree.hatenadiary.org/entry/20111114/1321264210</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
