Hibernate read-by-position
Hibernate ORM 6.0.0 changing from its old strategy of read-by-name to read-by-position.
Along with Query support, all loading operations are now done using this SQL AST approach. This covers all fetching strategies, as well, including SELECT (N+1), JOIN, BATCH, SUBSELECT.
Load-by-key
All load-by-key operations are now executed using the new SQL AST and JdbcOperation approach. This includes:- Load an entity by id (Session#byId, Session#get, Session#load, Session#lock, etc)
- Load an entity by multiple-ids (Session#byMultipleIds)
- Load an entity by natural-id
- Load an entity by unique-key
- Fetching a collection
- Initializing a collection
Along with Query support, all loading operations are now done using this SQL AST approach. This covers all fetching strategies, as well, including SELECT (N+1), JOIN, BATCH, SUBSELECT.
Comments
Post a Comment