Tags
Language
Tags
April 2024
Su Mo Tu We Th Fr Sa
31 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 1 2 3 4

Mastering Hibernate

Posted By: readerXXI
Mastering Hibernate

Mastering Hibernate
by Ramin Rad
English | 2016 | ISBN: 1782175334 | 204 Pages | True PDF | 4.3 MB

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.

What you will learn:

- Understand the internals of a Hibernate session and how Entities are managed
- Declare better mapping between entity classes and database tables
- Manage entity associations and collections
- Fetch data not just by entity ID, but also using HQL, Criteria Objects, Filters, and Native SQL
- Observe the first and second level caches and find out how to manage them
- Collect statistics and metrics data for further observation
- Make your application work with multi-tenant databases