本文介绍了Hibernate遵循哪种模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在他的企业应用架构模式一书中,Martin Fowler谈到软件开发中常见的持久性模式,特别是与ORM的关系。
In his book "Patterns of Enterprise Application Architecture", Martin Fowler talks about persistence patterns which are commonly found in software development and particularly in relation to ORMs.
有一种Hibernate最符合的模式?
Is there a pattern that Hibernate adheres to most closely?
推荐答案
Hibernate使用几种模式:
Hibernate make use of several patterns:
- 懒惰加载(派生收藏)
- 工作单位会话对象的一部分)
- 可能身份映射或更复杂的功能
- 映射元数据
-
-
- 所有对象关系结构模式
- Lazy load (proxing collections)
- Unit of Work (as part of Session object)
- probably Identity Map or something more sophisticated
- Mapping Metadata
- Query Object for Criterion API
- all object relational structual patterns
这篇关于Hibernate遵循哪种模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!