Summary
In this chapter, we discussed the basic concepts of Hibernate and how to configure it within a Spring
application. Then we covered common techniques for defining ORM mappings, and we covered
associations and how to use the HibernateTemplate class to perform various database operations.
With regarding to Hibernate, we covered only a small piece of its functionalities and features. For
those interested in using Hibernate with Spring, we highly recommend you study Hibernate's standard
documentation. Also, numerous books discuss Hibernate in detail. I recommend Beginning Hibernate,
Second Edition, and Pro JPA 2: Mastering the Java Persistence API (2009), both from Apress.
In the next chapter, we will take a look at the Java Persistence API (JPA) and how to use it when using
Spring. Hibernate provides excellent support for JPA, and we will continue to use Hibernate as the
persistence provider for the examples in next chapter. For query and update operations, JPA act likes
Hibernate. So, in the next chapter, we will discuss some advanced topics including native and criteria
query and how we use Hibernate and its JPA support in the sample application.
Search WWH :
Custom Search
Previous Page
Spring Framework 3 Topic Index
Next Page
Spring Framework 3 Bookmarks
Home