Hibernate Persistence Life Cycle
How to Program with Java Podcast - Podcast autorstwa Trevor Page: Java Guru | Programmer | Teacher
Kategorie:
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