<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hibernate on Szymon Kocur</title><link>https://szymonkocur.com/tags/hibernate/</link><description>Recent content in Hibernate on Szymon Kocur</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 12 Nov 2025 19:31:31 +0100</lastBuildDate><atom:link href="https://szymonkocur.com/tags/hibernate/index.xml" rel="self" type="application/rss+xml"/><item><title>When Hibernate Shouts at Me</title><link>https://szymonkocur.com/posts/hibernate-in-memory-pagination/</link><pubDate>Wed, 12 Nov 2025 19:31:31 +0100</pubDate><guid>https://szymonkocur.com/posts/hibernate-in-memory-pagination/</guid><description>&lt;p&gt;Seriously, not only humans can shout at you — sometimes your code does too!&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;When&lt;/strong&gt;? You may ask.&lt;/p&gt;
&lt;h3 id="the-problem"&gt;
 The Problem
 &lt;a class="heading-link" href="#the-problem"&gt;
 &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"&gt;&lt;/i&gt;
 &lt;span class="sr-only"&gt;Link to heading&lt;/span&gt;
 &lt;/a&gt;
&lt;/h3&gt;
&lt;p&gt;It happens when you do something so bad in code that even the logs beg you to look at them. When I first saw the log &lt;code&gt;firstResult/maxResults specified with collection fetch; applying in memory!&lt;/code&gt;, I ignored it — many times, I must admit. Now I feel bad about it. But what is this log even about?&lt;/p&gt;</description></item></channel></rss>