File tree Expand file tree Collapse file tree 1 file changed +25
-26
lines changed
Expand file tree Collapse file tree 1 file changed +25
-26
lines changed Original file line number Diff line number Diff line change 1- ---
2- layout : pattern
3- title : Data Mapper
4- folder : data-mapper
5- permalink : /patterns/dm/
6- categories : Persistence Tier
7- tags :
8- - Java
9- - Difficulty-Beginner
10- ---
11-
12- ## Intent
13- Object provides an abstract interface to some type of database or
14- other persistence mechanism.
15-
16- ![ alt text] ( ./etc/data-mapper.png " Data Mapper ")
17-
18- ## Applicability
19- Use the Data Mapper in any of the following situations
20-
21- * when you want to consolidate how the data layer is accessed
22- * when you want to avoid writing multiple data retrieval/persistence layers
23-
24- ## Credits
25-
26- * [ Data Mapper] ( http://richard.jp.leguen.ca/tutoring/soen343-f2010/tutorials/implementing-data-mapper/ )
1+ ---
2+ layout : pattern
3+ title : Data Mapper
4+ folder : data-mapper
5+ permalink : /patterns/dm/
6+ categories : Persistence Tier
7+ tags :
8+ - Java
9+ - Difficulty-Beginner
10+ ---
11+
12+ ## Intent
13+ A layer of mappers that moves data between objects and a database while keeping them independent of each other and the mapper itself
14+
15+ ![ alt text] ( ./etc/data-mapper.png " Data Mapper ")
16+
17+ ## Applicability
18+ Use the Data Mapper in any of the following situations
19+
20+ * when you want to consolidate how the data layer is accessed
21+ * when you want to avoid writing multiple data retrieval/persistence layers
22+
23+ ## Credits
24+
25+ * [ Data Mapper] ( http://richard.jp.leguen.ca/tutoring/soen343-f2010/tutorials/implementing-data-mapper/ )
You can’t perform that action at this time.
0 commit comments