How to Program with Java Podcast

Fetch Type Lazy Vs Eager


Listen Later

What the heck is a Fetch Type?

Great question! Hibernate is a very handy framework for removing your need to fully understand SQL, but it will force you to understand things such as joins.

Joining two tables in SQL is the foundation of a relational database, as joins allow you to actually define relationships between tables (objects).

Having said that, relationships are important to understand when talking about fetch types in Hibernate. This is the case because whenever you define a relationship in Hibernate, you’ll also need to define the fetch type. The fetch type essentially decides whether or not to load all of the relationships of a particular object/table as soon as the object/table is initially fetched.

For more information please see the show notes via http://howtoprogramwithjava.com/session57

...more
View all episodesView all episodes
Download on the App Store

How to Program with Java PodcastBy Trevor Page: Java Guru | Programmer | Teacher

  • 4.8
  • 4.8
  • 4.8
  • 4.8
  • 4.8

4.8

94 ratings


More shows like How to Program with Java Podcast

View all
Inside Java by Chad Arimura, David Delabassee

Inside Java

26 Listeners

The Java Easily Podcast by Matt Speake

The Java Easily Podcast

10 Listeners