hibernate中的细粒度对象模型

发布于 2024-10-06 18:24:48 字数 177 浏览 0 评论 0原文

在《Hibernate in Action》(Manning 出版物)中,

Hibernate 项目的一个主要目标是支持细粒度的对象模型,我们将其视为富域模型最重要的要求。粗略地说,细粒度意味着“类比表多”。

我不明白......请对此提供一些帮助。

In the Hibernate in Action (Manning publication),

A major objective of the Hibernate project is support for fine-grained object models, which we isolated as the most important requirement for rich domain model. In crude term, fine-grained means "more classes than table".

I don't get this... Please some body help on this.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

灵芸 2024-10-13 18:24:48

(我认为)这指的是 Hibernate 所称的 “组件” ,以及 JPA 所说的“嵌入类”。请参阅链接以获取其含义的解释。

This refers (I think) to what Hibernate calls "components", and what JPA calls "embedded classes". See the link for an explanation of what that means.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文