June 23
ORM单元测试技巧
A variety of bugs can lurk in the O/R mapping, including the following:
- Missing mapping for a field
- References to nonexistent tables or columns
- Database constraints that prevent objects from being inserted, updated, or deleted
- Queries that are invalid or that return the wrong result
- Incorrect repository implementation
http://www.theserverside.com/tt/articles/article.tss?l=PersistentDomain