Skip to content

Files

Latest commit

e9a5412 · Jan 11, 2018

History

History
This branch is 2178 commits behind iluwatar/java-design-patterns:master.

data-mapper

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Nov 28, 2017
Jan 11, 2018
Nov 28, 2017
Jan 1, 2018
layout title folder permalink categories tags
pattern
Data Mapper
data-mapper
/patterns/data-mapper/
Persistence Tier
Java
Difficulty-Beginner

Intent

A layer of mappers that moves data between objects and a database while keeping them independent of each other and the mapper itself

alt text

Applicability

Use the Data Mapper in any of the following situations

  • when you want to decouple data objects from DB access layer
  • when you want to write multiple data retrieval/persistence implementations

Credits