Gavin King, creator of Hibernate, joins a live coding session to demonstrate Hibernate 6.3's new features. The session walks through replacing Spring Data JPA repositories with plain Hibernate APIs, showcasing the annotation processor that generates type-safe query classes from HQL annotations, the static metamodel for type-safe ordering and entity graph fetching, and the @Find annotation for query methods. Gavin shares pragmatic opinions on avoiding over-abstraction, using EntityManager directly, when to use native SQL, stateless sessions for microservices, and the pitfalls of strict DDD aggregate patterns with relational data.

1h 4m watch time

Sort: