<?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 Margrop Blog</title>
    <link>https://blog.margrop.net/en/tag/hibernate/</link>
    <description>Recent content in Hibernate on Margrop Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-US</language>
    <lastBuildDate>Wed, 03 Mar 2021 18:23:39 +0800</lastBuildDate>
    <atom:link href="https://blog.margrop.net/en/tag/hibernate/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>The biggest pitfall of SpringBoot DevTools, none of them</title>
      <link>https://blog.margrop.net/en/post/springboot-devtools-terrible/</link>
      <pubDate>Wed, 03 Mar 2021 18:23:39 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/springboot-devtools-terrible/</guid>
      <description>Recently, a lot of changes have been added to the SpringBoot project, and then I encountered a very strange problem.&#xA;HibernateDatabase query error This is simply weird Expected type and actual value are exactly the same, but Hibernate thinks they are different. How can this be fixed?&#xA;After struggling with this strange problem for a day, I found that this only occurs on my local machine. The same code is completely normal on the test server.</description>
    </item>
    <item>
      <title>How to Map JSON Objects Using Generic Hibernate Types</title>
      <link>https://blog.margrop.net/en/post/how-to-map-json-collections-using-jpa-and-hibernate/</link>
      <pubDate>Fri, 29 Jan 2021 16:06:09 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/how-to-map-json-collections-using-jpa-and-hibernate/</guid>
      <description>&lt;h1 id=&#34;introduction&#34;&gt;Introduction&lt;/h1&gt;&#xA;&lt;p&gt;In this article, we&amp;rsquo;ll see how to map JSON columns to JPA entity attributes using the &lt;a href=&#34;http://www.google.com/&#34; title=&#34;Hibernate Types&#34;&gt;Hibernate Types&lt;/a&gt; open-source project.&lt;/p&gt;&#xA;&lt;p&gt;While you can create your own custom Hibernate type to map JSON column types on Oracle, SQL Server, PostgreSQL, or MySQL, you don&amp;rsquo;t need to implement your own Hibernate Type since the Hibernate Types project already provides this functionality.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
