Clarifying terminology : “Hydrating” an entity : Fetching properties from the DB
问题 In the context of ORM / Lazy loading of entities, my understanding of the term "Hydration" is as follows: "Hydrating" describes the process of populating some or all of the previously unpopulated attributes of an entity fetched using lazy loading. Eg: class Author is loaded from the database: @Entity class Author { @Id long id; List<Book> books; } Initially, the books collection is not populated. It is my understanding that the process of loading the books collection from the database is