<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>butyricacid</author_name>
  <author_url>https://blog.hatena.ne.jp/butyricacid/</author_url>
  <blog_title>らくさん</blog_title>
  <blog_url>https://butyricacid.hatenadiary.org/</blog_url>
  <categories>
    <anon>Hibernate</anon>
  </categories>
  <description># 以前にも同じことでハマったことがあったのをすっかり忘れていたのでメモ Query query = session.createQuery(&quot;from Entity e where e.child = ?&quot;); query.setParameter(0, child);とパラメータにChildエンティティを直接渡すと、クエリキャッシュを有効にしててもキャッシュされないのはなぜ？ もちろん setCacheable, setCacheRegion もやってる。 Query query = session.createQuery(&quot;from Entity e where e.child.id =…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbutyricacid.hatenadiary.org%2Fentry%2F20071216%2F1197780074&quot; title=&quot; where e.child = ? とするとクエリキャッシュが効かない？ - らくさん&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>2007-12-16 13:41:14</published>
  <title> where e.child = ? とするとクエリキャッシュが効かない？</title>
  <type>rich</type>
  <url>https://butyricacid.hatenadiary.org/entry/20071216/1197780074</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
