Getting started with Hibernate/JPA - Table of Contents


(If you like this series, why not spread the love? )

Arc 1 : Don't you ever skip these basics!

#
Title
Description
Length
1.1
The simplest and fastest Hibernate 5.x project setup (also, which Hibernate Version to choose?)
Getting started with a greenfield Hibernate project might look like a pain, but it doesn't have to be. Learn how you get up and running with plain Hibernate 5.x in no time.
00:03:21
Free
1.2
Getting a head start with an embedded database
Sure, you could install MySQL or Postgres on your local developer machine. But I am going to show you a better and faster way: Using the fantastic H2 database available at http://www.h2database.com
00:04:19
Free
1.3
Opening up connections to the database (or meet the SessionFactory)
In the previous screencast you learned how to open up connections to our H2 Database with plain JDBC. Now you are going to learn about doing the same thing with Hibernate. Your first, vanilla Hibernate connection to the database. Yay!
00:04:51
Free
1.4
Enable SQL Logging - With Plain Hibernate
Enabling SQL Logging with plain Hibernate features. (no log4j, logback or something similar)
00:03:21
Free

Arc 2 : Building a simple User management backend

#
Title
Description
Length
2.1
How to save records (users) to the database - With plain Hibernate
Imagine you want to build a simple usermanagement, i.e. register or save users to a database. A user has an id, an email and a password, real simple. And in this screencast we will learn how to do just that: Save a user to the database with Hibernate.
00:07:07
2.3
How to delete records (users) - With plain Hibernate
Last but not least, we want to be able to delete records, or in our case users, from the database again. In this screencast you will learn how to delete one or many records from a database table with Hibernate.
00:02:36

Arc 3 : JPA, JPA, JPA!

#
Title
Description
Length
3.1
Meet the EntityManager (or a quick JPA upgrade for our user management)
In case you did not know, there's something out there called JPA, the Java Persistence API. Hibernate speaks JPA and in this screencast you will find out how to use Hibernate with JPA and why you should or should not do it.
00:07:06
3.2
What's the difference between the java.persistence and the org.hibernate annotations?
Sometimes beginners get confused when they are about to import annotations like the @Table or @Entity annotation and then there are multiple options to choose from. I'll show you _which_ annotations you should use _when_ in this screencast.
00:03:32
Want to get notified of new screencasts ?

Get your weekly screencast list, straight to your inbox every Wednesday. We promise never to spam.