O'Reilly logo

Spring Persistence with Hibernate by Ahmad Seddighi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

This chapter demonstrated the basic steps for preparing to use Hibernate. The first step is to install and run a database engine. HSQLDB is a simple, lightweight, and easy-to-use open-source database. Therefore, it lets us learn Hibernate without getting involved in database details.

After setting up a database, the next steps are getting Hibernate and setting up the project hierarchy. Although there are some templates for the application structure, this structure mostly depends on the application you are working on.

Getting Ant or Maven and adding them to the project are the next steps. Ant is a utility project that provides an automatic build process. To start using Ant, extract Ant in a directory, set up the ANT_HOME variable in your ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required