<?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 Deep Blogs</title>
    <link>https://blog.deepdhamala.com.np/tags/hibernate/</link>
    <description>Recent content in Hibernate on Deep Blogs</description>
    <generator>Hugo</generator>
    <language>en</language>
    <managingEditor>dev.deepdhamala.com.np (Deep Dhamala)</managingEditor>
    <webMaster>dev.deepdhamala.com.np (Deep Dhamala)</webMaster>
    <copyright>© 2025 Deep Dhamala</copyright>
    <lastBuildDate>Fri, 25 Jul 2025 22:07:43 +0545</lastBuildDate>
    <atom:link href="https://blog.deepdhamala.com.np/tags/hibernate/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>One-to-One Relationship in JPA</title>
      <link>https://blog.deepdhamala.com.np/posts/one-to-one-relationship-in-jpa/</link>
      <pubDate>Sun, 08 Sep 2024 20:53:00 +0545</pubDate><author>dev.deepdhamala.com.np (Deep Dhamala)</author>
      <guid>https://blog.deepdhamala.com.np/posts/one-to-one-relationship-in-jpa/</guid>
      <description>&lt;p&gt;In this JPA (Java Persistence API) article, we will discuss different ways of achieving one-to-one mappings in JPA.&lt;/p&gt;&#xA;&lt;h2 id=&#34;1-what-is-a-one-to-one-relationship&#34;&gt;1 What is a One-to-One Relationship?&lt;/h2&gt;&#xA;&lt;p&gt;A &lt;strong&gt;one-to-one relationship&lt;/strong&gt; in JPA is a type of association where each instance of an entity is directly linked to a single, unique instance of another entity. Formally, for every row in the first table, there is at most one corresponding row in the second table, and vice versa. This ensures that the relationship between the two entities is exclusive and bidirectional or unidirectional, depending on the mapping configuration.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
