Meaningless Drivel is fun!
The moose likes Object Relational Mapping and the fly likes Choice of recepies. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Choice of recepies." Watch "Choice of recepies." New topic

Choice of recepies.

Gian Franco
Ranch Hand

Joined: Dec 16, 2003
Posts: 977
Hi Srinivas,

How did you go about to chose the recepies in the book?

What are the major problems types for which you intend
to provide a solution and why?



"Eppur si muove!"
srinivas guruzu

Joined: Jun 08, 2010
Posts: 20
Hi Gian,

The choice of recipes for the book was a combined effort from me and Gary Mak, We included what we could think of as common required recipes. We hope to have covered a major part. To give you an overview, the book covers the following topics in recipes approach,

• Various Hibernate configuration options.
• How to map a simple and complex domain models in a relational database to the objects developed in Hibernate.
• Role of inheritance when creating an object graph and relational table structure.
• Importance of Hibernate API classes like Session and SessionFactory.
• Mechanisms to store an object with its unique identifier.
• How collections of components can be mapped and used to retrieve data from a relational database.
• Implementing various associations like One to One, Many to One, Many to Many.
• To use lazy fetching and initialization.
• How different collections like Set, Bag or a List can be used to retrieve data from the database.
• How bidirectional relationships can be mapped.
• How to use HQL, JPA QL, Criteria API to fetch data.
• Various states of an object in its persistent life cycle.
• How batch processing improvises the performance when retrieving data.
• Caching of persistent objects in the Hibernate layer including associations, collections and queries.
• Various scopes at which objects can be cached – Transaction, Process, Cluster.
• Levels at which caching can be implemented – first level and second level.
• Concurrency strategies for maintaining the isolation levels.
• How transactions and ACID properties are maintained when dealing with multiple objects.
• How optimistic and pessimistic concurrency controls are achieved.
• How Hibernate is configured in a web application.


Srinivas Guruzu
Anil Vupputuri
Ranch Hand

Joined: Oct 31, 2000
Posts: 527
[Hijack removed, please start your own topic for your own questions.]

Sorry Bear, I created a new thread. Thanks.

SCJP 1.5, SCEA, ICED (287,484,486)
I agree. Here's the link:
subject: Choice of recepies.
It's not a secret anymore!