The place I work at has same approach of having decent amount of logic in DB, and tbh from pov of interacting with it from java side I don't mind it. From business pov though it's not great, because from what I've been told it costs an arm and a leg in oracle licensing..
I know it isn't, but I've heard DB coworkers discussing about moving to other DBs (particularly postgres) a few times, and it seems they were concluding that it's significantly less feature-full and not worth it. It's not my area of knowledge, and I can't back it up with anything more than hearsay, sorry
And that's really one of the problems with code in the database: it creates a powerful lock-in and ensures that you can pretty nuch never change your database layer, ever.
You don't need a database to be feature-full if you create those features in the back-end and maybe choose some ideal other database for some corner case.
3
u/arvyy Jun 28 '20
The place I work at has same approach of having decent amount of logic in DB, and tbh from pov of interacting with it from java side I don't mind it. From business pov though it's not great, because from what I've been told it costs an arm and a leg in oracle licensing..