Data Mapper Pattern
Design Pattern
Integrates with
Also see
Competes with
Knowledge graph stats
Claims41
Avg confidence93%
Avg freshness100%
Last updatedUpdated 5 days ago
WikidataQ5227311
Trust distribution
100% unverified
Governance
Not assessed
Data Mapper Pattern
concept
Layer of software that separates in-memory objects from database, keeping them independent
Compare with...documented in
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Patterns of Enterprise Application Architecture | ○Unverified | High | Fresh | 1 |
primary use case
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| decoupling domain objects from database schema | ○Unverified | High | Fresh | 1 |
| Separating domain objects from database access logic | ○Unverified | High | Fresh | 1 |
| separating domain objects from database persistence logic | ○Unverified | High | Fresh | 1 |
| Keeping domain objects independent of database schema | ○Unverified | High | Fresh | 1 |
| mapping between objects and database tables | ○Unverified | High | Fresh | 1 |
| object-relational mapping | ○Unverified | High | Fresh | 1 |
| Implementing Object-Relational Mapping | ○Unverified | High | Fresh | 1 |
| isolating domain logic from data access code | ○Unverified | High | Fresh | 1 |
published in
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Patterns of Enterprise Application Architecture | ○Unverified | High | Fresh | 1 |
supports separation of concerns
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| true | ○Unverified | High | Fresh | 1 |
publication year
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| 2002 | ○Unverified | High | Fresh | 1 |
requires
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Separate mapper classes for database operations | ○Unverified | High | Fresh | 1 |
| object-oriented programming language | ○Unverified | High | Fresh | 1 |
integrates with
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| relational databases | ○Unverified | High | Fresh | 1 |
| Object-Relational Mapping frameworks | ○Unverified | High | Fresh | 1 |
| Unit of Work Pattern | ○Unverified | Moderate | Fresh | 1 |
| Identity Map Pattern | ○Unverified | Moderate | Fresh | 1 |
described by
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Martin Fowler | ○Unverified | High | Fresh | 1 |
category
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Object-Relational Mapping Pattern | ○Unverified | High | Fresh | 1 |
supports principle
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Separation of Concerns | ○Unverified | High | Fresh | 1 |
| Domain Model Pattern | ○Unverified | High | Fresh | 1 |
published year
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| 2002 | ○Unverified | High | Fresh | 1 |
developed by
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Martin Fowler | ○Unverified | High | Fresh | 1 |
pattern type
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Enterprise Application Architecture Pattern | ○Unverified | High | Fresh | 1 |
| architectural pattern | ○Unverified | Moderate | Fresh | 1 |
supports model
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Domain Model | ○Unverified | High | Fresh | 1 |
| Domain Model Pattern | ○Unverified | High | Fresh | 1 |
| Repository Pattern | ○Unverified | Moderate | Fresh | 1 |
based on
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Enterprise Application Architecture patterns | ○Unverified | High | Fresh | 1 |
| Object-Relational Mapping principles | ○Unverified | High | Fresh | 1 |
enables testability
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| true | ○Unverified | High | Fresh | 1 |
alternative to
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Active Record Pattern | ○Unverified | High | Fresh | 1 |
| Table Data Gateway Pattern | ○Unverified | High | Fresh | 1 |
| Table Data Gateway | ○Unverified | Moderate | Fresh | 1 |
implemented in
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Hibernate | ○Unverified | Moderate | Fresh | 1 |
| SQLAlchemy | ○Unverified | Moderate | Fresh | 1 |
| Doctrine ORM | ○Unverified | Moderate | Fresh | 1 |
implemented by
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Hibernate | ○Unverified | Moderate | Fresh | 1 |
| Doctrine ORM | ○Unverified | Moderate | Fresh | 1 |
competes with
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Row Data Gateway | ○Unverified | Moderate | Fresh | 1 |