Mastering Hibernate.
Learn how to correctly utilize the most popular Object-Relational Mapping tool for your Enterprise applicationAbout 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...
Saved in:
Main Author: | |
---|---|
Format: | Electronic eBook |
Language: | English |
Published: |
Packt Publishing,
2016.
|
Edition: | 1. |
Subjects: | |
Online Access: |
Full text (Wentworth users only) |
MARC
LEADER | 00000cam a2200000ua 4500 | ||
---|---|---|---|
001 | w2390398 | ||
005 | 20240116183434.0 | ||
006 | m o d | ||
007 | cr |n||||||||| | ||
008 | 160517s2016 xx o 000 0 eng d | ||
015 | |a GBB670973 |2 bnb | ||
016 | 7 | |a 017858034 |2 Uk | |
019 | |a 968101874 |a 969018919 | ||
020 | |a 178528875X |q (ebk) | ||
020 | |a 9781785288753 |q (ebk) | ||
020 | |a 9781782175339 | ||
020 | |a 1782175334 |q (Trade Paper) | ||
024 | 3 | |a 9781782175339 | |
035 | |a (OCoLC)949989537 |z (OCoLC)968101874 |z (OCoLC)969018919 | ||
037 | |a 922925 |b MIL | ||
040 | |a IDEBK |b eng |e pn |c IDEBK |d YDXCP |d COO |d NLE |d OCLCO |d OCLCF |d OCLCQ |d DEBSZ |d FEM |d EBLCP |d MERUC |d OCLCQ |d VT2 |d REB |d UOK |d OCLCQ |d WYU |d OCLCO |d LVT |d UKAHL |d OCLCQ |d OCLCO |d OCLCQ |d UKMGB |d OCLCO |d OCLCQ |d OCLCO |d UtOrBLW | ||
050 | 4 | |a T55.4-60.8 | |
082 | 0 | 4 | |a 005.7565 |2 23 |
100 | 1 | |a Rad, Ramin. | |
245 | 1 | 0 | |a Mastering Hibernate. |
250 | |a 1. | ||
260 | |b Packt Publishing, |c 2016. | ||
300 | |a 1 online resource | ||
336 | |a text |b txt |2 rdacontent | ||
337 | |a computer |b c |2 rdamedia | ||
338 | |a online resource |b cr |2 rdacarrier | ||
347 | |a text file |2 rda | ||
505 | 0 | |a Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Entity and Session; Why this book?; Quick Hibernate; Working with a session; Session internals; Contextual session; Session per request; Session per conversation; Session per operation; Stateless session; Entity; Entity lifecycle; Types of entities; Identity crisis; Beyond JPA; Proxy objects; Batch processing; Manual batch management; Setting batch size; Using stateless session; Summary; Chapter 2: Advanced Mapping; Mapping concepts; Instances and rows. | |
505 | 8 | |a Annotation versus XMLOwning entity; Value mapping; JPA ID generation; Hibernate ID generation; Composite ID; Association cardinality; One-to-one associations; One-to-many associations; Many-to-one associations; Many-to-many associations; Self-referencing tables; Cascade operations; Inheritance; Single table strategy; Table per class strategy; Joined strategy; Enumeration and custom data type; Enumerated type; Custom data type mapping; Summary; Chapter 3: Working with Annotations; Mapping and association; @Any and @ManyToAny; @MapsId; @Fetch; @OrderBy; @ElementCollection and @CollectionTable. | |
505 | 8 | |a Behavior@Cache; @Access; @Cascade; @CreationTimestamp and @UpdateTimestamp; @Filter and @FilterDef; @Immutable; @Loader; @NotFound; @SortComparator and @SortNatural; SQL/DDL modifier; @Check; @ColumnDefault; @ColumnTransformer; @DynamicInsert and @DynamicUpdate; @Formula; @SelectBeforeUpdate; @SQLDelete and @Where; @SQLInsert and @SQLUpdate; @SubSelect and @Synchronize; @WhereJoinTable; @NaturalId; Summary; Chapter 4: Advanced Fetching; Fetching strategy; The JOIN fetch mode; The SELECT fetch mode; The SUBSELECT fetch mode; Batch fetching; Hibernate Query Language; Fetch queries. | |
505 | 8 | |a Delete and updateJoin; Native SQL; Scalar query; Entity query; Criteria objects; Filters; Pagination; Summary; Chapter 5: Hibernate Cache; Cache structure; Cache scope; First-level cache; Second-level cache; Cache provider interface; Ehcache implementation; Cache configuration; Query cache; Caching benefits and pitfalls; Caching strategies; Read only; Non-strict read write; Read-write; Transactional; Object identity; Managing the cache; Remove cached entities; Cache modes; Cache metrics; Summary; Chapter 6: Events, Interceptors, and Envers; Services; Service loader; Service registry. | |
505 | 8 | |a The OSGi modelEvents; Event listener; Registering listeners; Interceptors; Database trigger; Event or interceptor; Envers; Configuration; Strategy; Fetching revisions; Summary; Chapter 7: Metrics and Statistics; Statistical data types; Session; Entity; Collection; Query; Cache; Statistics via JMX; Introduction to JMX; Using JMX with Hibernate; Summary; Chapter 8: Addressing Architecture; Architecture matters; Transaction management; Local transactions; The Java Transaction API; Compensating transactions; Concurrency; Isolation levels; Locking; User lock; Scalability; Clustering. | |
520 | 8 | |a Learn how to correctly utilize the most popular Object-Relational Mapping tool for your Enterprise applicationAbout 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 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 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 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. | |
588 | 0 | |a Print version record. | |
630 | 0 | 0 | |a Hibernate (Electronic resource) |0 n 2005091716 |
650 | 0 | |a Relational databases |x Management. |0 sh 86007768 | |
776 | 0 | 8 | |i Erscheint auch als: |n Druck-Ausgabe |
938 | |a Askews and Holts Library Services |b ASKH |n AH30656394 | ||
938 | |a ProQuest Ebook Central |b EBLB |n EBL4659093 | ||
938 | |a ProQuest MyiLibrary Digital eBook Collection |b IDEB |n cis34515022 | ||
938 | |a YBP Library Services |b YANK |n 12999006 | ||
951 | |a 2390398 | ||
999 | f | f | |i 6ef47e8b-bee1-51dd-ae26-d3c474f68cfd |s 868b2c9c-183e-5878-bed8-764bd90f1e83 |t 0 |
952 | f | f | |a Wentworth Institute of Technology |b Main Campus |c Wentworth Library |d Ebooks |t 0 |e Safari |h Other scheme |
856 | 4 | 0 | |t 0 |u https://go.oreilly.com/wentworth-institute-of-technology/library/view/-/9781782175339 |y Full text (Wentworth users only) |