srinivas guruzu

author
+ Follow
since Jun 08, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by srinivas guruzu

Hi,

yes it does.

Regards

Srinivas
Hi Anil,

Yes, polymorphic queries are also dealt in that chapter.

Regards

Srinivas
Hi Theodore,

It does not cover integration with other frameworks. Spring Recipes(Book) has a whole chapter on this., We will consider providing some examples in the code base,
for beginners.

Regards

Srinivas
Hi Sarma,

Yes, this book covers topics like Inheritance Mapping, Caching, transaction and concurrency management among many others.
I believe, it will help you. Also you may want to have a book that presents in a problem-solution approach saving you a lot of time.

Regards

Srinivas
Hi Gaurav,

You should be able to buy it from amazon.

I do not know if I can post the link directly here. But search for the book name in Amazon., it will show up.

Regards

Srinivas
Hi Jamal,

Here is a brief description about the authors of this book,
Gary Mak
Gary Mak, founder and chief consultant of Meta-Archit Software Technology Limited, has been a technical architect and application developer on the enterprise Java platform for over seven years. He is the author of the Apress books Spring Recipes: A Problem-Solution Approach and Pro SpringSource dm Server. In his career, Gary has developed a number of Java-based software projects, most of which are application frameworks, system infrastructures, and software tools. He enjoys designing and implementing the complex parts of software projects. Gary has a master’s degree in computer science. His research interests include object-oriented technology, aspect-oriented technology, design patterns, software reuse, and domain-driven development.
Gary specializes in building enterprise applications on technologies including Spring, Hibernate, JPA, JSF, Portlet, AJAX, and OSGi. He has been using the Spring Framework in his projects for five years, since Spring version 1.0. Gary has been an instructor of courses on enterprise Java, Spring, Hibernate, Web Services, and agile development. He has written a series of Spring and Hibernate tutorials as course materials, parts of which are open to the public, and they’re gaining popularity in the Java community. In his spare time, he enjoys playing tennis and watching tennis competitions.


Srinivas Guruzu - I am a Developer who has been coding for more than 8 years. After completing his MS in Mechanical Engineering, I worked on high traffic payment systems in the banking domain. I also have experience working in the insurance domain. I am working with Spring and Hibernate building applications that integrate with other products as a part of a large customer enrollment and file transmission system.

Hope this information helps.

Regards

Srinivas
Hi Gian,

We do explain ways to cache associations and collections. I think we were expecting the developer to pick the required techniques depending on the
structure of the object and their specific requirement.

Regards

Srinivas
Hi Rob,

I am not aware of a way to look at the XML mappings if we are using annotations.
I would look at the annotations to see what the mappings are.

Regards

Srinivas

Hi Varun,

This can be achieved by <many-to-one> mapping. Just that the parentProduct is the Product object itself. so the mapping for the parentProduct would
look something like
<many-to-one name="parentProduct" class="Product" column="PARENT_PRODUCT_ID" cascade="save-update"/>

To get all the child products for a parent product, you can use criteria with restrictions, which would be something like

criteria.add(Restrictions.eq("parentProduct.productId", new Integer(1)));

Here we are getting all child products for the parent product with product Id =1

Ofcourse, the book covers many-to-one mapping.

Regards

Srinivas
My Co-Author Gary Mak already has
a successful Book in this approach (Spring Recipes). It was his idea to do a Hibernate recipes book. Also we did not have one in the Market with this problem-solution approach.
Hi David,

You would appreciate using Hibernate or any ORM framework, if you have knowledge of Object oriented principles and Persistence using SQL.

Regards

Srinivas Guruzu
Hello Guys,

We started writing the book in Sep/Oct2009, so Hibernate 3.3.2 was the latest stable release at that time.

So we have implementations for 3.3.2.GA.

Regards


Srinivas Guruzu
Hi Theodore Casser,

In Caching we cover the following

Using the First-Level Cache
Configuring the Second-Level Cache
Caching Associations
Caching Collections
Caching Queries

we explain how to work with regions. You should be able to configure caching for each object, but we could not give examples on tuning each object.

I think the developer should be able to define the caching parameters depending on the structure of the object.

Hope this information helps.

Regards

Srinivas Guruzu
Hi Cor Takken,

In this book, what you will get is a simple and straight forward problem solution approach. We do not have a book that presents Hibernate in the recipes approach
like we have for Spring in the form of Spring Recipes.

Regards

Srinivas Guruzu
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.

Regards

Srinivas Guruzu