r/java • u/Andruid929 • Apr 23 '26
My first API's first POST request😂
I just got started with Springboot and I'm working on a small expense tracker project to get comfortable with the framework. I got a rather silly problem, which I managed to fix (my entity was lacking setters and constructors).
It got me curious though, what's your first big super silly error?
62
Upvotes
View all comments
Show parent comment
1
u/vips7L Apr 25 '26
Yeah! You should default it in your database too. I’ve had use cases for nullable integers like ids and stuff like that, but Booleans almost never.Â