Hibernate

Tutorial: Hibernate, JPA & Spring MVC - Part 2

Overview

This tutorial will show you how to take a basic Hibernate/JPA app, convert it into a Spring MVC web project to be able to view the database in a web browser, and finally use Spring's @Transactional annotation to reduce boiler plate code.

This tutorial assumes you're familiar with Java and Maven, and that you've completed the first part of this tutorial. You'll also need to have downloaded and installed Tomcat.

Tutorial: Hibernate, JPA - Part 1

Overview

This is the first part of tutorial about using Hibernate and JPA. This part is an introduction to to JPA and Hibernate. The second part will look at putting together a Spring MVC application using Spring ORM to reduce the amount of code necessary to create a CRUD application.

To complete this you'll want to be familiar with Maven, JUnit, SQL and relational databases.

Dependencies

Firstly we'll need a couple of basic dependencies. Essentially there are three layers:

Subscribe to RSS - Hibernate