Tech Lead Journal

#232 - Hibernate Creator on Why Developers Hate ORM (And How We're Fixing It) - Gavin King


Listen Later

“Architecture is something that has to emerge naturally from the code. If it doesn’t make the code better, more elegant, and more flexible, then you should not be doing it.”

Why do so many developers have a love-hate relationship with ORM? The creator of Hibernate reveals the real reasons behind the controversy and what’s being done to fix the fundamental issues.

In this episode, Gavin King, the creator of Hibernate, shares the story behind its creation, from a debate with his boss to its rise as a popular open-source. He dives deep into why developers often dislike ORM, pinpointing the “magic” of the stateful persistence context as a major pain point.

Gavin explains how modern specifications are fixing these historical issues with an emphasis on type safety and more explicit, stateless operations, giving developers greater control.

Key topics discussed:

  • The origin story of Hibernate and the early frustrations with Java EE
  • The single biggest mistake that led some developers to hate ORM
  • Why type safety matters and how the new Jakarta specifications enable type-safe queries
  • Why architecture should emerge from code, not from whiteboard diagrams
  • A critique on industry dogmas and architecture best practices, including DDD aggregates
  • Why disagreement is essential for healthy engineering teams

Timestamps:

  • (00:00:00) Trailer & Intro
  • (00:02:24) Career Turning Points
  • (00:16:11) The Problems That Led to Hibernate Creation
  • (00:24:22) Key Things That Make Hibernate Successful
  • (00:31:57) Behind the Scene of Java EE Specifications
  • (00:37:42) The Renaming of Java EE to Jakarta EE
  • (00:40:15) Jakarta Persistence, Jakarta Data, Jakarta Query Language
  • (00:47:20) The Importance of Type Safety
  • (00:54:08) Why Some People Dislike ORM
  • (01:00:47) The Fundamental of Data Fetching and Association
  • (01:08:52) The Upcoming Jakarta Data and QL Updates
  • (01:16:06) Gavin’s View on Software Architecture
  • (01:26:08) The DDD from Gavin’s Perspective
  • (01:30:55) Tech Lead Wisdom

_____

Gavin King’s Bio
Gavin King is the creator of Hibernate, the revolutionary framework that redefined data persistence for millions of Java developers. A key figure in the evolution of enterprise Java, he has led the development of major industry standards like the Java Persistence API (JPA) and CDI. After a decade designing the Ceylon programming language, he has returned to his roots to advance the next generation of data persistence with Jakarta EE.

Follow Gavin:

  • LinkedIn – linkedin.com/in/gavinking
  • Twitter – x.com/1ovthafew
  • Website – hibernate.org


Like this episode?
Show notes & transcript: techleadjournal.dev/episodes/232.
Follow @techleadjournal on LinkedIn, Twitter, and Instagram.
Buy me a coffee or become a patron.

...more
View all episodesView all episodes
Download on the App Store

Tech Lead JournalBy Henry Suryawirawan

  • 4.7
  • 4.7
  • 4.7
  • 4.7
  • 4.7

4.7

12 ratings


More shows like Tech Lead Journal

View all
Hanselminutes with Scott Hanselman by Scott Hanselman

Hanselminutes with Scott Hanselman

380 Listeners

Software Engineering Radio by se-radio@computer.org

Software Engineering Radio

273 Listeners

.NET Rocks! by Carl Franklin and Richard Campbell

.NET Rocks!

244 Listeners

The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

288 Listeners

The Cloudcast by Massive Studios

The Cloudcast

156 Listeners

Thoughtworks Technology Podcast by Thoughtworks

Thoughtworks Technology Podcast

42 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

625 Listeners

Soft Skills Engineering by Jamison Dance and Dave Smith

Soft Skills Engineering

284 Listeners

AWS Podcast by Amazon Web Services

AWS Podcast

205 Listeners

Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

983 Listeners

CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

CoRecursive: Coding Stories

188 Listeners

Kubernetes Podcast from Google by Abdel Sghiouar, Kaslin Fields

Kubernetes Podcast from Google

182 Listeners

Practical AI by Practical AI LLC

Practical AI

206 Listeners

The Stack Overflow Podcast by The Stack Overflow Podcast

The Stack Overflow Podcast

62 Listeners

The Pragmatic Engineer by Gergely Orosz

The Pragmatic Engineer

62 Listeners