Which pattern does Hibernate follow?
问题 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. Is there a pattern that Hibernate adheres to most closely? 回答1: 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