---
title: "Discussion on \"How Spring Uses Dynamic Proxy to Create Repository Interfaces\" | Hashnode"
description: "Discussion on \"How Spring Uses Dynamic Proxy to Create Repository Interfaces\". When developers define an interface like UserRepository extends JpaRepository, something fascinating happens under the hood: Spring creates a real implementation of that interface — without you writing a single line of code. No implements, no SQL..."
url: "https://hashnode.com/posts/how-spring-uses-dynamic-proxy-to-create-repository-interfaces/69329f293b6e7565c48b6db6"
---

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

Discussion

# [How Spring Uses Dynamic Proxy to Create Repository Interfaces](https://tuanhnet.hashnode.dev/how-spring-uses-dynamic-proxy-to-create-repository-interfaces?utm_source=hashnode&utm_medium=feed)

When developers define an interface like UserRepository extends JpaRepository, something fascinating happens under the hood: Spring creates a real implementation of that interface — without you writing a single line of code. No implements, no SQL...

Dec 5, 2025 · 5 min read · tuanhnet.hashnode.dev  
Read the article

-   [#spring](https://hashnode.com/tag/spring)
-   [#proxy](https://hashnode.com/tag/proxy)
-   [#database](https://hashnode.com/tag/database)
-   [#bean](https://hashnode.com/tag/bean)
-   [#hibernate](https://hashnode.com/tag/hibernate)

## Written by

[Tuanhdotnet](https://hashnode.com/@tuananh8)

@tuananh8

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

I am Tuanh.net. As of 2024, I have accumulated 8 years of experience in backend programming. I am delighted to connect and share my knowledge with everyone.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
