Opinionated JPA… by Richard "Virgo" Richter [PDF/iPad/Kindle]
Opinionated JPA with Querydsl
Opinionated JPA with Querydsl
Opinionated JPA with Querydsl

This book is 90% complete

Last updated on 2017-03-09

About the Book

ORM is a neat idea, typically used together with rich domain model. JPA, currently in version 2.1, is a Java specification that is now a common ground for most Java ORMs around. But ORM is also a love-hate topic, with stickers like "Vietnam of computer science", often called an antipattern.

In this book we'll talk about many interesting JPA aspects and put them into the context of other persistence options. I'll also try to explore use of JPA 2.1 in a way much closer to SQL, but still benefiting from many features that make it so convenient when compared to plain old JDBC. We will discuss non-JPA feature called entity (or ad-hoc) joins - supported by both EclipseLink and Hibernate. We'll also cover some typical problems (lazy loading and related N+1 select) and some less typical ones (like modularity).

Querydsl will be with us along the way, because compared to Criteria API it allows us to write much cleaner queries in a fluent API fashion.

About the Author

Richard "Virgo" Richter
Richard "Virgo" Richter

Software developer since forever, professionally since 2000. Very familiar with Java ecosystem, but open to learning new languages and technologies as I don’t believe in narrow specialization. I like the idea of an agile and learning environment (like Joy, Inc.). I also believe in testing automation, continuous delivery, clean code and also other, often rather peopleware-ish topics. I'm exploring functional programming and domain-driven design, among others.

The Leanpub Unconditional, No Risk, 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms

Write and Publish on Leanpub

Authors and publishers use Leanpub to publish amazing in-progress and completed ebooks, just like this one. You can use Leanpub to write, publish and sell your book as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub