Book Image

Mastering Hibernate

Book Image

Mastering Hibernate

Overview of this book

Hibernate has been so successful since its inception that it even influenced the Java Enterprise Edition specification in that the Java Persistence API was dramatically changed to do it the Hibernate way. Hibernate is the tool that solves the complex problem of Object Relational Mapping. It can be used in both Java Enterprise applications as well as .Net applications. Additionally, it can be used for both SQL and NoSQL data stores. Some developers learn the basics of Hibernate and hit the ground quickly. But when demands go beyond the basics, they take a reactive approach instead of learning the fundamentals and core concepts. However, the secret to success for any good developer is knowing and understanding the tools at your disposal. It’s time to learn about your tool to use it better This book first explores the internals of Hibernate by discussing what occurs inside a Hibernate session and how Entities are managed. Then, we cover core topics such as mapping, querying, caching, and we demonstrate how to use a wide range of very useful annotations. Additionally, you will learn how to create event listeners or interceptors utilizing the improved architecture in the latest version of Hibernate.
Table of Contents (16 chapters)

About the Reviewers

Luca Masini is a senior software engineer and architect. He started off as a game developer for Commodore 64 (Football Manager) and Commodore Amiga (Ken il guerriero). He soon converted to object oriented programming, and for that, from its beginning in 1995, he was attracted by the Java language.

Following his passion, he worked as a consultant for major Italian banks, developing and integrating the main software projects for which he has often taken technical leadership. He encouraged the adoption Java Enterprise in environments where COBOL was the flagship platform, converting them from mainframe centric to distributed.

He then shifted his focus toward open source, starting from Linux and then moving to enterprise frameworks with which he was able to introduce concepts such as IoC, ORM, and MVC with low impact. For that, he was an early adopter of Spring, Hibernate, Struts, and a whole host of other technologies that in the long run have given his customers a technological advantage and, therefore, development cost reduction.

After introducing new technology, he decided that it was time for simplification and standardization of development with Java EE, and as such, he's now working in the ICT of a large Italian company, where he has introduced build tools (Maven and continuous integration), archetypes of project, and agile development with plain standards.

Finally, he has focused his attention on mobilizing the enterprise and is now working on a whole set of standard and development processes to introduce mobile concepts and applications for sales force and management.

He has worked on the following books by Packt Publishing:

  • Securing WebLogic Server 12c

  • Google Web Toolkit

  • Spring Web Flow 2

  • Spring Persistence with Hibernate

  • Spring Batch Essentials

  • Spring Integration Essentials

Sherwin John Calleja-Tragura has been a software consultant, technical trainer, and software analyst specializing in Java/JEE and Android specification. He started his career as a lecturer and numerical analyst at the University of the Philippines, Los Baños (UPLB), emphasizing on optimization of linear algorithms. In 2006, he became one of the Documentum and Alfresco consultants at Ayala Systems and Technology Inc. (ASTI) in Manila, Philippines. Currently, he is a technical consultant at Alibata Solutions and Technology Services Inc. and a Java/JEE technical trainer at Software Laboratory Inc. (SLI).

He has technically edited books such as Delphi Cookbook,,Alfresco 3 Records Management, and Alfresco Share, all by Packt Publishing.

He has taken 30 course units of masters of science in the computer science curriculum of UPLB.

Aurélie Vache is a full-stack developer, working for atchikservices in Toulouse, France. She has been working as a developer for over 10 years.

A former Java/JEE developer, she has been developing business and social apps, backend and frontends services, websites, and lead technical projects. She has also been giving attention to UX and SEO, managing QoS (quality of service), and deploying apps in production for several years now. She is also a DevOps and enjoys Big Data technologies.

As a Duchess France Leader, she is strongly involved with Duchess France (, an association promoting women developers and women in IT, inspiring and encouraging them to speak at conferences or technical events. The Duchess France team has launched a new coaching initiative (#AdoptADuchess) in order to help junior devlopers.

You can meet her at meetups in Toulouse, specifically at JUG, DevOps, and Toulouse Data Science, where she has already talked about Google BigQuery, the Big Data analytics as a service (AaaS) Google technology.

A couple of months ago, she was a member of the jury for the Senat (French Senate) IT developer contest in order to recruit two developers in the Information Systems Department (ISD).