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

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

“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:


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.

Det här avsnittet är hämtat från ett öppet RSS-flöde och publiceras inte av Podme. Det kan innehålla reklam.

Avsnitt(279)

Software Engineering Laws Every Developer Must Know in the AI Era - Milan Milanovic

Software Engineering Laws Every Developer Must Know in the AI Era - Milan Milanovic

Does moving faster with AI mean you get to skip the laws that governed every software project before it? Milan Milanovic argues the opposite, the old laws of software engineering now apply twice as ha...

10 Aug 1h 1min

Signals & Levers: Systems Thinking to Navigate Software Delivery Illusions - Elisabeth Hendrickson & Joel Tosi

Signals & Levers: Systems Thinking to Navigate Software Delivery Illusions - Elisabeth Hendrickson & Joel Tosi

(04:48) Brought to you by SpeechifyAITired of text-to-speech that sounds robotic or costs too much at scale? SpeechifyAI's new Simba 3.2 model ranks #1 on Artificial Analysis for realness, priced unde...

3 Aug 1h 17min

From Technical Debt to Triple Debt: The Hidden Cost of AI-Generated Code

From Technical Debt to Triple Debt: The Hidden Cost of AI-Generated Code

Is vibe coding quietly draining the thing that makes teams effective: their shared understanding? Margaret breaks down her new “triple debt” model, and why cognitive debt might be the one nobody’s tra...

27 Juli 1h 10min

Ex-Gojek CTO: Why the Age of AI Rewards Builders as Judgment Becomes Expensive

Ex-Gojek CTO: Why the Age of AI Rewards Builders as Judgment Becomes Expensive

If expertise is becoming almost free, why is judgment becoming the most expensive skill in tech? Ajey Gore, former Gojek CTO, explains why the age of AI agents rewards builders over typists.In this ep...

13 Juli 1h 22min

The AI Productivity Paradox: Why 10X Output Doesn't Mean 10X Business Outcome

The AI Productivity Paradox: Why 10X Output Doesn't Mean 10X Business Outcome

What if optimizing for AI output is actually slowing your company down? When code becomes nearly free to produce, the organizations still measuring productivity by output are solving the wrong problem...

29 Juni 1h 5min

The Hidden Stories Sabotaging Your Culture Change

The Hidden Stories Sabotaging Your Culture Change

Why do 70% of change efforts fail — even when leadership is fully committed? The answer isn’t strategy or resources; it’s the hidden stories people unknowingly carry that silently block every initiati...

15 Juni 1h 8min

Creator of Meta's Hack: Your AI Will Always Cheat — Here's How to Stop It

Creator of Meta's Hack: Your AI Will Always Cheat — Here's How to Stop It

What if your AI coding agent is quietly cheating on your tests — and how do you stop it? Julien Verlaguet, who built the type system Meta used to migrate tens of millions of PHP lines, is now building...

8 Juni 1h 18min

Eric Ries: Why Good Tech Companies Go Bad, and How to Stop It

Eric Ries: Why Good Tech Companies Go Bad, and How to Stop It

Why do companies with the best intentions end up betraying their customers, employees, and mission? Eric Ries calls it “financial gravity” — an invisible force that pulls even the most principled comp...

1 Juni 1h

Populärt inom Teknik

uppgang-och-fall
market-makers
skogsforum-podcast
rss-uppgang-och-fall
rss-elektrikerpodden
rss-laddstationen-med-elbilen-i-sverige
 och-bilen-gar-bra
elbilsveckan
natets-morka-sida
rss-en-ai-till-kaffet
developers-mer-an-bara-kod
bosse-bildoktorn-och-hasse-p
rss-veckans-ai
bli-saker-podden
rss-fabriken-2
rss-upplyst-entreprenordirektor
rss-jonas-jaani-podcast
rss-milpodden
hej-bruksbil
garagehang