mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 12:58:37 +00:00
4e01ca39fd
1. Converter 2. Dao
layout, title, folder, permalink, categories, tags
| layout | title | folder | permalink | categories | tags | |
|---|---|---|---|---|---|---|
| pattern | Data Access Object | dao | /patterns/dao/ | Architectural |
|
Intent
Object provides an abstract interface to some type of database or other persistence mechanism.
Class diagram
Applicability
Use the Data Access Object in any of the following situations
- when you want to consolidate how the data layer is accessed
- when you want to avoid writing multiple data retrieval/persistence layers
