Hibernate @OneToOne Unidirectional / Bidirectional episode artwork

EPISODE · Aug 8, 2014 · 36 MIN

Hibernate @OneToOne Unidirectional / Bidirectional

from How to Program with Java Podcast · host Trevor Page: Java Guru | Programmer | Teacher

One-to-One Unidirectional Relationship Since you've already learned about the ins and outs of how unidirectional one-to-many and bidirectional one-to-many relationships work, it's time to learn about the One-to-One relationships. We will start things off with the unidirectional One-to-One relationship and how it's set up in Hibernate. First thing is first, you need to understand how a One-to-One relationship is actually set up in a database. Once you understand that the child table declares the parent's primary key as the child's primary key, then we can get moving with the Hibernate stuff! For this example, we are going to use the One-to-One relationship between an Employee and their Address. TheAddress table will be set up as follows: For more information, please read the show notes via http://howtoprogramwithjava.com/session55

Episode metadata supplied by the publisher feed · Published Aug 8, 2014

Embed this episode

NOW PLAYING

Hibernate @OneToOne Unidirectional / Bidirectional

0:00 36:21

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of How to Program with Java Podcast?

This episode is 36 minutes long.

When was this How to Program with Java Podcast episode published?

This episode was published on August 8, 2014.

Can I download this How to Program with Java Podcast episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!