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

Chapter 2. Preparing an Application to Use Spring with Hibernate

Hibernate, like many other frameworks, must be configured before you can use it. However, its configuration is very simple and straightforward. Besides configuration, some other settings are required to use Hibernate. These include setting up a database, creating the application structure, and adding extra frameworks, such as Log4j and Ant to the project.

In this chapter, we will discuss the prerequisites to developing with Hibernate. The chapter explains the configuration steps, based on the priority you should take in a typical application. Note that, not all steps are mandatory when using Hibernate. However, taking the optional steps is highly recommended.

We'll start our discussion ...

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