Clarifying terminology - What does “hydrating” a JPA or Hibernate entity mean when fetching the entity from the DB

后端 未结 6 1112
太阳男子
太阳男子 2020-12-04 20:54

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

6条回答
  •  难免孤独
    2020-12-04 21:35

    hydration is a loose term. In our company we use "rehydration" as he term to load all the object properties of an entire object graph. Here is a post that talks about various levels of hydration (again this is a general usage though they are using in the context of hibernate).

提交回复
热议问题