https://github.com/iluwatar/java-design-patterns-web/issues/8 Update pattern categories and tags
This commit is contained in:
@ -3,11 +3,9 @@ layout: pattern
|
||||
title: Repository
|
||||
folder: repository
|
||||
permalink: /patterns/repository/
|
||||
categories: Persistence Tier
|
||||
categories: Architectural
|
||||
tags:
|
||||
- Java
|
||||
- Difficulty-Intermediate
|
||||
- Spring
|
||||
- Data access
|
||||
---
|
||||
|
||||
## Intent
|
||||
@ -23,10 +21,10 @@ querying is utilized.
|
||||
## Applicability
|
||||
Use the Repository pattern when
|
||||
|
||||
* the number of domain objects is large
|
||||
* you want to avoid duplication of query code
|
||||
* you want to keep the database querying code in single place
|
||||
* you have multiple data sources
|
||||
* The number of domain objects is large
|
||||
* You want to avoid duplication of query code
|
||||
* You want to keep the database querying code in single place
|
||||
* You have multiple data sources
|
||||
|
||||
## Real world examples
|
||||
|
||||
|
Reference in New Issue
Block a user