"Am I right in believing that we are better off using simple tables when working with ORM?"
Yes.
RDBMS should be focused on persistent storage and nothing more.
If you do this, you will find that you can - easily create an access layer in your OO language. All front-end developers must use the access level and cannot break the database.
"object oriented stored procedures?"
Oracle has some OO-like PL / SQL functions.
Do not waste time on this. Focus on a clear separation between persistence (in the RDBMS) and application processing (rather than in the DBMS).
Many, many people will send you letters of hate saying things like "the seller put all these functions there, so you have to use them" and "what happened to the stored procedures?" and "a good database administrator is better than a room with full developers," etc. etc.
I don’t know why people claim that stored procedures are “better,” but many systems end up reaching the wall where stored procedures and triggers become so burdensome that they need to be rewritten.
I have never seen anyone complain that they have too much application software outside the database.
Keep following your thoughts here - use ORM - avoid stored procedures.
source share