<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/how-convenient-jpa-defaults-broke-our-kotlin-microservice-olul2ogkw" -->

---
title: How Convenient JPA Defaults Broke Our Kotlin Microservice
description: A real-world account of how JPA&#x27;s convenient default behaviors caused unexpected issues in a Kotlin-based microservice. The post explores how seemingly helpful...
canonical: https://daily.dev/posts/how-convenient-jpa-defaults-broke-our-kotlin-microservice-olul2ogkw
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How Convenient JPA Defaults Broke Our Kotlin Microservice | daily.dev
og:description: A real-world account of how JPA&#x27;s convenient default behaviors caused unexpected issues in a Kotlin-based microservice. The post explores how seemingly helpful...
og:url: https://daily.dev/posts/how-convenient-jpa-defaults-broke-our-kotlin-microservice-olul2ogkw
og:image: https://api.daily.dev/og/posts/oLul2OGKW.png
og:image:alt: How Convenient JPA Defaults Broke Our Kotlin Microservice
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How Convenient JPA Defaults Broke Our Kotlin Microservice

**[ShiftMag - Insightful Engineering Content](https://daily.dev/sources/shiftmag)** · [@anastasijauspenski](https://daily.dev/anastasijauspenski) · 1 min read · 7 upvotes · 0 comments

## Summary

A real-world account of how JPA's convenient default behaviors caused unexpected issues in a Kotlin-based microservice. The post explores how seemingly helpful JPA defaults can lead to subtle bugs or performance problems when used with Kotlin, and what lessons were learned from diagnosing and fixing the problem.

## Content

[https://shiftmag.dev/jpa-defaults-kotlin-microservice-9184/](https://shiftmag.dev/jpa-defaults-kotlin-microservice-9184/)

## Similar posts on daily.dev

- [How to Avoid Common Pitfalls With JPA and Kotlin](https://daily.dev/posts/how-to-avoid-common-pitfalls-with-jpa-and-kotlin-hgchpvpwb) · Kotlin · 1 upvotes · 0 comments
- [Using Spring Data JDBC With Kotlin](https://daily.dev/posts/using-spring-data-jdbc-with-kotlin-jtkj8jwli) · JetBrains · 0 upvotes · 0 comments

---

Tags: [#java](https://daily.dev/tags/java), [#microservices](https://daily.dev/tags/microservices), [#kotlin](https://daily.dev/tags/kotlin), [#spring-boot](https://daily.dev/tags/spring-boot)

[View this post on daily.dev](https://daily.dev/posts/how-convenient-jpa-defaults-broke-our-kotlin-microservice-olul2ogkw)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/how-convenient-jpa-defaults-broke-our-kotlin-microservice-olul2ogkw","headline":"How Convenient JPA Defaults Broke Our Kotlin Microservice","text":"A real-world account of how JPA's convenient default behaviors caused unexpected issues in a Kotlin-based microservice. The post explores how seemingly helpful JPA defaults can lead to subtle bugs or performance problems when used with Kotlin, and what lessons were learned from diagnosing and fixing the problem.","url":"https://daily.dev/posts/how-convenient-jpa-defaults-broke-our-kotlin-microservice-olul2ogkw","datePublished":"2026-07-16T00:42:42.647Z","dateModified":"2026-09-13T21:19:02.878Z","author":{"@type":"Person","name":"Anastasija Uspenski","url":"https://daily.dev/anastasijauspenski","image":"https://media.daily.dev/image/upload/s--0qjvlw0A--/f_auto/v1753975988/avatars/avatar_GoxeKR3O4hyY9jbM3jPBp?_a=BAMClqZW0","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":2190}},"interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":7},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/squads/shiftmag","name":"ShiftMag - Insightful Engineering Content"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"ShiftMag - Insightful Engineering Content","item":"https://daily.dev/squads/shiftmag"},{"@type":"ListItem","position":3,"name":"How Convenient JPA Defaults Broke Our Kotlin Microservice"}]}
```

