𝔖 Scriptorium
✦   LIBER   ✦

πŸ“

Just Hibernate

✍ Scribed by Madhusudhan Konda


Publisher
O'Reilly Media
Year
2014
Tongue
English
Leaves
139
Edition
1st Edition
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


If you’re looking for a short, sweet, and simple introduction (or reintroduction) to Hibernate, this is the book you want. Through clear real-world examples, you’ll learn Hibernate and object-relational mapping from the ground up, starting with the basics. Then you’ll dive into the framework’s moving parts to understand how they work in action.
Storing Java objects in relational databases is usually a challenging and complex task for any Java developer, experienced or not. This book, like others in the Just series, delivers a concise, example-driven tutorial for Java beginners. You’ll gain enough knowledge and confidence to start working on real-world projects with Hibernate.

✦ Table of Contents


Cover......Page 0
Copyright......Page 4
Table of Contents......Page 7
Foreword......Page 11
Why I Wrote This Book......Page 13
How This Book Is Organized......Page 14
Conventions Used in This Book......Page 15
Using Code Examples......Page 16
How to Contact Us......Page 17
A Note from the Author......Page 18
Birth of Hibernate......Page 19
MovieManager Application......Page 21
Improvising the Movie Application......Page 24
Using Hibernate......Page 26
Configure the Database Connection......Page 27
Create Mapping Definitions......Page 28
Persist the Objects......Page 29
Creating the Persist Method......Page 30
Testing the Persisted Data......Page 31
Setting Up Hibernate......Page 32
Summary......Page 33
Object-Relational Mismatch......Page 35
Identity Mismatch......Page 36
Hibernate’s Main Parts......Page 37
Using Annotations......Page 38
Using a Properties File......Page 40
Programmatic Configuration......Page 41
XML Mapping Files......Page 42
Identifier Generation Strategies......Page 44
Session APIs......Page 45
Transactions......Page 46
Summary......Page 48
Working Through an Example......Page 49
Digging into Details......Page 51
ID Generation Strategies......Page 52
Using Primary Key Class and @Id......Page 54
Using Primary Key Class and @EmbeddedId......Page 55
Using @IdClass......Page 56
Summary......Page 57
Designing to Interfaces......Page 59
List Example: Car Showroom......Page 60
Test Client for List Persistence......Page 62
Persisting Sets......Page 63
Persisting Maps......Page 65
Persisting Arrays......Page 67
Persisting Bags and IdBags......Page 68
Using a Foreign Key......Page 70
Using a Join Table......Page 72
Summary......Page 73
Associations......Page 75
Multiplicity......Page 76
Directionality......Page 77
One-to-One Association......Page 78
Using a Primary Key......Page 79
Testing the Association......Page 81
Using a Foreign Key......Page 82
Annotations......Page 84
One-to-Many (or Many-to-One) Association......Page 85
Bidirectional One-to-Many Association......Page 88
Many-to-Many Association......Page 89
Summary......Page 90
Entity and Value Types......Page 91
Custom Types......Page 92
Components......Page 93
First-Level Caching......Page 95
Second-Level Caching......Page 96
Table-per-Class Strategy......Page 97
Table-per-Subclass Strategy......Page 101
Table-per-Concrete-Class Strategy Using XML mapping......Page 103
Creating Filter Definitions......Page 105
Enabling Filters......Page 106
Cascading Entities......Page 107
Summary......Page 109
Working with the Query Class......Page 111
Fetching All Rows......Page 112
Named Parameters......Page 114
Using the IN option......Page 115
Aliases......Page 116
Selects......Page 117
Aggregate Functions......Page 118
Criterias......Page 119
Named Queries......Page 120
Summary......Page 122
ChapterΒ 8.Β Java Persistence API......Page 123
Persistence Context......Page 124
EntityManagerFactory......Page 126
EntityManager......Page 127
Saving and Querying Entities......Page 128
Summary......Page 129
Index......Page 131
About the Author......Page 139


πŸ“œ SIMILAR VOLUMES


Just hibernate : a lightweight introduct
✍ Konda, Madhusudhan πŸ“‚ Library πŸ“… 2014 πŸ› O'Reilly Media 🌐 English

<div> If you&#8217;re looking for a short, sweet, and simple introduction (or reintroduction) to Hibernate, this is the book you want. Through clear real-world examples, you&#8217;ll learn Hibernate and object-relational mapping from the ground up, starting with the basics. Then you&#8217;ll dive in

Just hibernate : a lightweight introduct
✍ Konda, Madhusudhan πŸ“‚ Library πŸ“… 2014 πŸ› O'Reilly Media 🌐 English

<div> If you&#8217;re looking for a short, sweet, and simple introduction (or reintroduction) to Hibernate, this is the book you want. Through clear real-world examples, you&#8217;ll learn Hibernate and object-relational mapping from the ground up, starting with the basics. Then you&#8217;ll dive in

Just Hibernate: A Lightweight Introducti
✍ Madhusudhan Konda πŸ“‚ Library πŸ“… 2014 πŸ› O'Reilly Media 🌐 English

If you're looking for a short, sweet, and simple introduction (or reintroduction) to Hibernate, this is the book you want. Through clear real-world examples, you'll learn Hibernate and object-relational mapping from the ground up, starting with the basics. Then you'll dive into the framework's movin

Just Spring Data Access: Covers JDBC, Hi
✍ Madhusudhan Konda πŸ“‚ Library πŸ“… 2012 πŸ› O'Reilly Media 🌐 English

JDBC has simplified database access in Java applications, but a few nagging wrinkles remain - namely, persisting Java objects to relational databases. With this book, you'll learn how the Spring Framework makes that job incredibly easy with dependency injection, template classes, and object-relation

Beginning Hibernate For Hibernate 5
✍ Ottinger, Joseph, Linwood, Jeff, Minter, Dave πŸ“‚ Library πŸ“… 2016 πŸ› Apress 🌐 English

Get started with the Hibernate 5 persistence layer and gain a clear introduction to the current standard for object-relational persistence in Java. This updated edition includes the new Hibernate 5.0 framework as well as coverage of NoSQL, MongoDB, and other related technologies, ranging from applic

Beginning Hibernate: For Hibernate 5
✍ Joseph B. Ottinger, Jeff Linwood, Dave Minter (auth.) πŸ“‚ Library πŸ“… 2016 πŸ› Apress 🌐 English

<p><p>Get started with the Hibernate 5 persistence layer and gain a clear introduction to the current standard for object-relational persistence in Java. This updated edition includes the new Hibernate 5.0 framework as well as coverage of NoSQL, MongoDB, and other related technologies, ranging from