This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
So I've started learning Hibernate. It has been difficult, because I'm accustomed to learning APIs, and Hibernate is not an API (please let me know if you disagree).
What I've seen of Hibernate so far is awesome, so I want to see others using it. Toward that goal, I've decided to post simple examples of Hibernate that (hopefully) others will find helpful.
I didn't like any of the on-line documentation for Hibernate, because the examples provided are difficult to understand. They contain extraneous things like Maven, Ant, Junit, utility classes, etc. that don't clearly describe any Hibernate concept. Because of that, the examples I found require that I already know Hibernate so I can determine what is extraneous, and what is illustrating a point. Each of my examples will focus strictly on just one point, with all of the extraneous stuff stripped away. I think a typical programmer can assemble simple concepts into complicated software (after all, developing software is a matter of creating many lines of code, each of which is a simple step, and assembling them into useful software).
My examples will be self-contained and ready to run, so that if somebody has trouble making them run, they will know it is a setup problem, and not some misunderstanding of Hibernate.
Each example will be in a different post. Stay tuned.