Compare hotel prices and find the best deal - HotelsCombined.com

Thursday, May 28, 2015

Which design patterns are used in Hibernate framework?

Some of the design patterns used in Hibernate Framework are:
  • Domain Model Pattern – An object model of the domain that incorporates both behavior and data.
  • Data Mapper – A layer of Mappers that moves data between objects and a database while keeping them independent of each other and the mapper itself.
  • Proxy Pattern – for lazy loading
  • Factory pattern – in Session Factory