r/SpringBoot • u/Excellent_Trifle_630 • Jul 03 '26
Question How do you handle database operations in enterprise projects?
I'm a .NET developer, and in our organization's project, which is quite data-intensive, we use stored procedures for all database operations. The application simply calls the stored procedures with the required input parameters and consumes the output they return.
Is this a common approach in spring boot applications as well?(Like calling stored procedures and all) If yes, how are they called in your organization/project?
23
Upvotes
View all comments
Show parent comment
1
u/Ok_Risk6035 Jul 08 '26
Stored procedures looks like error proned shit that almost cant be debugged. Especially if they are calling each other.
They also can fail if you try to write something into temp table in read-only transaction.
Also they lead to severe deadlocks.
So strange that people still use them without real importance.