<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Persistence Context on wid's blog</title><link>https://wid-blog.github.io/en/tags/persistence-context/</link><description>Recent content in Persistence Context on wid's blog</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 06 Jul 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://wid-blog.github.io/en/tags/persistence-context/index.xml" rel="self" type="application/rss+xml"/><item><title>JPA Persistence Context and Dirty Checking</title><link>https://wid-blog.github.io/en/posts/tech/language/jpa-persistence-context-dirty-checking/</link><pubDate>Mon, 06 Jul 2026 00:00:00 +0000</pubDate><guid>https://wid-blog.github.io/en/posts/tech/language/jpa-persistence-context-dirty-checking/</guid><description>A managed entity from findById gets UPDATEd through dirty checking, with no save() call. The three entity states, how snapshot comparison works, what save() actually does, and the persistence context lifetime that all of it depends on.</description></item></channel></rss>