<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>RDBMS on JOURNAL.ROBBI.MY</title><link>https://journal.robbi.my/tags/rdbms/</link><description>Recent content in RDBMS on JOURNAL.ROBBI.MY</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 26 Dec 2022 14:09:59 +0800</lastBuildDate><atom:link href="https://journal.robbi.my/tags/rdbms/index.xml" rel="self" type="application/rss+xml"/><item><title>One To Many - Many To One (JPA and Hibernate)</title><link>https://journal.robbi.my/posts/210607120000/</link><pubDate>Mon, 07 Jun 2021 00:00:00 +0000</pubDate><guid>https://journal.robbi.my/posts/210607120000/</guid><description>&lt;nav id="TableOfContents"&gt;
 &lt;ul&gt;
 &lt;li&gt;&lt;a href="#intro"&gt;Intro&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="#database-design"&gt;Database design&lt;/a&gt;
 &lt;ul&gt;
 &lt;li&gt;&lt;a href="#unidirectional-implementation"&gt;Unidirectional implementation&lt;/a&gt;
 &lt;ul&gt;
 &lt;li&gt;&lt;a href="#model"&gt;Model&lt;/a&gt;
 &lt;ul&gt;
 &lt;li&gt;&lt;a href="#table---customer"&gt;Table - Customer&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="#table---cart"&gt;Table - Cart&lt;/a&gt;&lt;/li&gt;
 &lt;/ul&gt;
 &lt;/li&gt;
 &lt;li&gt;&lt;a href="#details-and-explaination"&gt;Details and explaination&lt;/a&gt;&lt;/li&gt;
 &lt;/ul&gt;
 &lt;/li&gt;
 &lt;li&gt;&lt;a href="#bidirectional-implementation"&gt;Bidirectional implementation&lt;/a&gt;
 &lt;ul&gt;
 &lt;li&gt;&lt;a href="#model-1"&gt;Model&lt;/a&gt;
 &lt;ul&gt;
 &lt;li&gt;&lt;a href="#table---customer-1"&gt;Table - Customer&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="#table---order"&gt;Table - Order&lt;/a&gt;&lt;/li&gt;
 &lt;/ul&gt;
 &lt;/li&gt;
 &lt;li&gt;&lt;a href="#details-and-explaination-1"&gt;Details and explaination&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="#side-note"&gt;Side note&lt;/a&gt;&lt;/li&gt;
 &lt;/ul&gt;
 &lt;/li&gt;
 &lt;/ul&gt;
 &lt;/li&gt;
 &lt;li&gt;&lt;a href="#conclusion"&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
 &lt;/ul&gt;
&lt;/nav&gt;

&lt;h2 id="intro"&gt;Intro&lt;/h2&gt;
&lt;p&gt;Nowadays, programming evolve and growth rapidly from time to time but most of problem and issue that we want to solve have same design concept in many ways.&lt;/p&gt;
&lt;p&gt;Today, I want to wrote something about relational database system. The topic today are about &lt;code&gt;one-to-many&lt;/code&gt; / &lt;code&gt;many-to-one&lt;/code&gt; association relationship. It about a links of multiple tables based on a FK (Foreign Key) column which that the child table record references back to the PK (Primary Key) of the parent table row data. I also will touch &lt;code&gt;unidirectional&lt;/code&gt; and &lt;code&gt;bidirectional&lt;/code&gt; propagation.&lt;/p&gt;</description></item></channel></rss>