---
title: "Discussion on \"Swapping Adapters: PostgreSQL Without Touching the Core\" | Hashnode"
description: "Discussion on \"Swapping Adapters: PostgreSQL Without Touching the Core\". TL;DR\n\nHexagonal architecture is a promise: you can replace an adapter without touching the core. In this part I keep that promise by swapping the in-memory repository for PostgreSQL, and I prove it w"
url: "https://hashnode.com/posts/swapping-adapters-postgresql-without-touching-the-core/6af790e7712755e4b8ae07fc"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Swapping Adapters: PostgreSQL Without Touching the Core](https://cbuelvasc.hashnode.dev/swapping-adapters-postgresql-without-touching-the-core?utm_source=hashnode&utm_medium=feed)

TL;DR Hexagonal architecture is a promise: you can replace an adapter without touching the core. In this part I keep that promise by swapping the in-memory repository for PostgreSQL, and I prove it w

1d ago · 6 min read · cbuelvasc.hashnode.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#hexagonal-architecture](https://hashnode.com/tag/hexagonal-architecture)
-   [#testcontainers](https://hashnode.com/tag/testcontainers)
-   [#mcp](https://hashnode.com/tag/mcp)

## Written by

[Carmelo Buelvas Comas](https://hashnode.com/@cbuelvasc)

@cbuelvasc · Colombia

  
[View profile](https://hashnode.com/@cbuelvasc)

Senior Backend Engineer · Java, Go & AI (MCP) · Building production-grade systems

Senior Software Engineer with 14+ years building backend systems in Java (8 to 25) and Spring Boot, now also working with Go. I write about MCP, AI agents, cloud-native architecture, observability and taking systems to production. Based in Colombia.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
