Decorator pattern - Java - Explained
Intent
The Decorator Pattern attaches additional responsibilities to an object dynamically.
Decorator provides a flexible alternative to subclassing for extending functionality.
It is a type of structural design pattern which is also called a Wrapper...
adityatechinsights.com5 min read
Nitin Khaitan
Towards Polyglot Architecture
Kudos for the excellent article.
Below is a good read about the design pattern for the database layer: medium.com / towards-polyglot-architecture / design-patterns-for-the-database-layer-7b741b126036