Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Choice of recepies.  RSS feed

Gian Franco
Ranch Hand
Posts: 979
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?


srinivas guruzu
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 527
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[Hijack removed, please start your own topic for your own questions.]

Sorry Bear, I created a new thread. Thanks.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!