How to Program with Java Podcast

Hibernate Persistence Life Cycle


Listen Later

Now it’s time to dive into the nitty gritty of Hibernate’s mysterious inner workings.

I’m by no means an expert in Hibernate, but I do use it almost every day for my own projects, so I do know a thing or two about how it works.

One topic that had me scratching my head for ages was the Hibernate life cycle. What I mean by the life cycle is the way Hibernate interacts with Java objects at certain points in the existence of said Java objects.

Let’s start from the beginning…

What the heck is a Hibernate Life Cycle?

You see, Hibernate is picky about your Java objects. Hibernate prefers your objects to be in a certain “state”, known as the persistent state… this persistent state is one of four different states that exist inside of the hibernate persistence life cycle.

Once you have a firm grasp of the different states that an object can be in (as it pertains to Hibernate) you’ll be well on your way to mastering the Hibernate framework.

So let’s get this Hibernate persistence life cycle lesson started shall we?

Continue reading via: http://howtoprogramwithjava.com/session58

...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
Culips Everyday English Podcast by Culips English Podcast

Culips Everyday English Podcast

982 Listeners

Get a Job in Tech by Gary McNeely

Get a Job in Tech

3 Listeners

DonTheDeveloper Podcast by Don Hansen

DonTheDeveloper Podcast

17 Listeners

Digis Podcast by Digis

Digis Podcast

0 Listeners