Mastering Hibernate (eBook)
204 Seiten
Packt Publishing (Verlag)
978-1-78528-875-3 (ISBN)
Learn how to correctly utilize the most popular Object-Relational Mapping tool for your Enterprise application
About This Book
- Understand the internals of Hibernate and its architecture, and how it manages Entities, Events, Versioning, Filters, and Cache
- Observe how Hibernate bridges the gap between object-oriented concepts and relational models
- Discover how Hibernate can address architectural concerns such as Transaction, Database Multi-tenancy, Clustering, and Database Shards
Who This Book Is For
Mastering Hibernate is intended for those who are already using or considering using Hibernate as the solution to address the problem of Object Relational Mapping. If you are already using Hibernate, this book will help you understand the internals and become a power user 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
In Detail
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.
Style and approach
This book takes a close look at the core topics, and helps you understand the complex topics by showing you examples and giving you in-depth discussions.
Learn how to correctly utilize the most popular Object-Relational Mapping tool for your Enterprise applicationAbout This BookUnderstand the internals of Hibernate and its architecture, and how it manages Entities, Events, Versioning, Filters, and CacheObserve how Hibernate bridges the gap between object-oriented concepts and relational modelsDiscover how Hibernate can address architectural concerns such as Transaction, Database Multi-tenancy, Clustering, and Database ShardsWho This Book Is ForMastering Hibernate is intended for those who are already using or considering using Hibernate as the solution to address the problem of Object Relational Mapping. If you are already using Hibernate, this book will help you understand the internals and become a power user of Hibernate.What You Will LearnUnderstand the internals of a Hibernate session and how Entities are managedDeclare better mapping between entity classes and database tablesManage entity associations and collectionsFetch data not just by entity ID, but also using HQL, Criteria Objects, Filters, and Native SQLObserve the first and second level caches and find out how to manage themCollect statistics and metrics data for further observationMake your application work with multi-tenant databasesIn DetailHibernate 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 betterThis 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.Style and approachThis book takes a close look at the core topics, and helps you understand the complex topics by showing you examples and giving you in-depth discussions.
Erscheint lt. Verlag | 16.5.2016 |
---|---|
Sprache | englisch |
Themenwelt | Informatik ► Programmiersprachen / -werkzeuge ► Java |
ISBN-10 | 1-78528-875-X / 178528875X |
ISBN-13 | 978-1-78528-875-3 / 9781785288753 |
Haben Sie eine Frage zum Produkt? |
Größe: 1,1 MB
Kopierschutz: Adobe-DRM
Adobe-DRM ist ein Kopierschutz, der das eBook vor Mißbrauch schützen soll. Dabei wird das eBook bereits beim Download auf Ihre persönliche Adobe-ID autorisiert. Lesen können Sie das eBook dann nur auf den Geräten, welche ebenfalls auf Ihre Adobe-ID registriert sind.
Details zum Adobe-DRM
Dateiformat: EPUB (Electronic Publication)
EPUB ist ein offener Standard für eBooks und eignet sich besonders zur Darstellung von Belletristik und Sachbüchern. Der Fließtext wird dynamisch an die Display- und Schriftgröße angepasst. Auch für mobile Lesegeräte ist EPUB daher gut geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen eine
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen eine
Geräteliste und zusätzliche Hinweise
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich