<?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 The Mole&#39;s OpenNMS (TM) Dev Diary</title>
    <link>/tags/hibernate/</link>
    <description>Recent content in Hibernate on The Mole&#39;s OpenNMS (TM) Dev Diary</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 28 Jan 2019 14:30:00 +0100</lastBuildDate>
    
	<atom:link href="/tags/hibernate/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Hibernate - Using multiple relations using @Where does not update properly</title>
      <link>/posts/graph-service/4-hibernate-where-issue/</link>
      <pubDate>Mon, 28 Jan 2019 14:30:00 +0100</pubDate>
      
      <guid>/posts/graph-service/4-hibernate-where-issue/</guid>
      <description>While working on the persistence for the new graph service I encountered a weird behaviour: Each time a persisted graph is altered the edges were removed. So I investigated and it turns out if you are using hibernate inheritance in combination with the @Where clause hibernate only persists the entities which have been modified and removes the relation to the others, but keeps the entities sigh.
 For more clarity, here is the original code</description>
    </item>
    
  </channel>
</rss>