In Relation To
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
Jakarta Persistence 4.0 Milestone 1 has been released for community review. Key additions include EntityAgent for direct database operations bypassing the persistence context, @StaticQuery annotations with compile-time type checking, a programmatic ResultSetMapping API, and the long-awaited ability to set LAZY as the default fetch type for to-one associations. The release also introduces Statement interface for DML operations, new get()/findMultiple()/getMultiple() methods, TypedQuery.getResultCount(), optional 'select new' syntax for record projections, @ExcludedFromVersioning, programmatic lifecycle listener registration, improved named entity graphs, and standardized JDBC fetch/batch size properties. This is described as the most significant JPA revision since 2.0 in 2009, and is part of a broader effort alongside Jakarta Data and Jakarta Query specifications.
Sort: