Patterns of persistence
ORMのデザインパターンに関するdeveloperWorksの記事。
- Part 1: Strategies and best practices for modern ORM tools
- Part 2: Increase code reuse and enhance performance
Part 1 of this two-part article covers the basics of achieving a consistent, concise domain model and persistence tier with modern object-relational mapping (ORM) tools. In Part 2, the authors describe base domain entities, behavior in the domain model, and more-advanced features of a generic DAO. They also share strategies for enhancing data-retrieval performance with the domain model.