Hibernate 8 and Jakarta Persistence 4: EntityAgent and Stateless Sessions Explained (Tested on 8.0.0.CR1)
What Hibernate 8's EntityAgent is, how it differs from EntityManager, and what it really does on 8.0.0.CR1: no dirty checking, lazy fetch(), bulk inserts, lock modes, programmatic result set mappings, and where H2 and HSQLDB disagree. Every figure comes from a committed test run.