Menu

#Springboot

71 posts

Feed·
20 of 71 posts
Your JPA Find-or-Create Race Fix Is Dead Code (save() Doesn't Flush)
🖼️
0Read More

Your JPA Find-or-Create Race Fix Is Dead Code (save() Doesn't Flush)

DEV Community: java·Anand Rathnas·14 days ago
#cKPBiKqu
#devtojava#devto#dev#java#springboot

The classic 'insert, catch the unique violation, re-read' pattern silently doesn't work with JPA — because save() doesn't flush, the violation fires at commit, outside your try/catch. Here's why, and the fix.

15s
A Postgres Outbox That Survives Two Pods (No Message Broker)
🖼️
0Read More

A Postgres Outbox That Survives Two Pods (No Message Broker)

DEV Community: java·Anand Rathnas·17 days ago
#PmaaxqJj
#devtojava#devto#dev#java#springboot

You need to deliver a Slack alert exactly once, durably, from a multi-instance Spring Boot app — without Kafka or RabbitMQ. Here's a lease-based Postgres outbox that two pods can't double-send.

15s
Managing Active Directory from Anything via Web: Why I Built an Open-Source Tool with Spring Boot and Vaadin
🖼️
0Read More

Managing Active Directory from Anything via Web: Why I Built an Open-Source Tool with Spring Boot and Vaadin

DEV Community·Igor Markin·6 months ago
#qxYlAItW
#opensource#vaadin#java#springboot#management

From Dev.to - java: Managing Active Directory from Anything via Web: Why I Built an Open-Source Tool with Spring Boot and Vaadin

15s