InfoBedingungenDatenschutzKontakt
 
Wird aktualisiert
The Marco Show

The Marco Show

Veröffentlicht: 2025-10-01
© IntelliJ IDEA
The Marco Show - QR Code
3 Folgen
Audio
Anhören auf Apple Podcasts
3 Folgen
Audio
Anhören auf Apple Podcasts
Veröffentlicht: 2025-10-01
© IntelliJ IDEA
Aktuelle Folge
Hibernate: Myths & Over-Engineering. ORMs vs SQL vs Hexagonal — Gavin King

Hibernate: Myths & Over-Engineering. ORMs vs SQL vs Hexagonal — Gavin King

📺 Note: This episode contains screensharing and live coding examples that work best visually. If you’d like to follow along, check out the full video version on YouTube: https://youtu.be/Qvh3VFlvJnE. Gavin King (creator of Hibernate) joins Marco
Länge: 1:43:04
📺 Note: This episode contains screensharing and live coding examples that work best visually. If you’d like to follow along, check out the full video version on YouTube: https://youtu.be/Qvh3VFlvJnE.
Gavin King (creator of Hibernate) joins Marco to cut through the myths of Java persistence. When should you skip layers of repositories and just write SQL, or even model database views? What actually causes lazy-loading pain, and how do stateless sessions help? We cover Hibernate, JPA, and where Jakarta Data is headed, plus pragmatic advice for legacy schemas, performance, and keeping your code DRY.
💡 Topics in this episode:
• SQL vs repositories (and why views can be your adapter layer)
• The three inheritance strategies, and the trap of table-per-class
• Stateless sessions vs stateful persistence contexts
• LazyInitializationException explained (and avoided)
• DRY first: let architecture emerge via refactoring
• Jakarta Data 1.0/1.1: annotation processing, stateful repos, dynamic queries
• Performance rule-of-thumb: minimize round-trips
⏱️ Timestamps
(00:00) Teaser
(01:00) Gavin King intro and early Hibernate motivation
(03:59) Old-school open-source culture and discovery
(08:39) SQL isn’t hard: minimize DB round-trips
(10:03) “Leaky abstractions are good” (and why)
(12:04) Architecture should emerge from code
(15:44) DRY as commandment #1
(22:05) Reviewing a typical Spring Data setup (and pitfalls)
(25:39) Inheritance strategies: joined vs single table vs table-per-class
(30:06) One screen? Just write a SQL query (pragmatism)
(33:08) When ORM shines: operations over graphs
(35:22) Use views to adapt messy legacy schemas
(43:18) Jakarta Data repos: annotation-driven, step-into-able
(44:59) Stateless Session: less magic, explicit updates
(48:51) Jakarta Data 1.1: stateful repos, dynamic queries, reactive
(01:24:22) Rapid fire questions
(01:33:15) Features Gavin would delete and lessons learned
(01:42:30) Giveaway
New episodes every other Wednesday. Subscribe for deep, developer-focused conversations.
Folgen-ID: 1000729530082
GUID: 4cca76a0-e19a-43ce-bd71-208aad5ab316
Erscheinungs­datum: 1.10.2025, 16:00:00

Beschreibung

The Marco Show is a bi-weekly podcast about AI, coding, and developer tools — hosted by Marco Behler, Developer Advocate for Java at JetBrains.
Before JetBrains, Marco ran a consultancy in Munich, working with clients like BMW, Wirecard, and KVB, and built software at BWSO (now tresmo). He’s also a Java and Spring trainer, conference speaker, and writer of guides, courses, and videos.
Each episode brings real conversations with tech people who actually build things: opposing opinions, hot takes, and useful insights for developers who want to go deeper.
New episodes every other Wednesday.

Apple Podcasts: Kundenrezensionen

Kein Eintrag