Can you give me some idea about implementation of OOPS in Oracle?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Oracle has supported objects since version 8.0 of the database (i.e. over a decade). However, it wasn’t until 9iR2 that Oracle
TYPEsupported user-defined constructors and properly implemented polymorphism. In 11g they added support for a Java-esqueSUPER()call. But Oracle still doesn’t support private variables or private methods.As a consequence, OO programming hasn’t really taken off in the Oracle world. People use Types to define collections in PL/SQL, which are especially useful for bulk processing. Pipelined functions are also neat, and open up an interesting little toolset.
I have used Oracle’s object oriented functionality, and if I’m honest there are not many scenarios where it makes sense to choose types over regular PL/SQL. However, there are some situations where it can be useful. I have blogged about this at some length. Find out more.
edit
As Tuinstoel commented I linked to the wrong article on Adrian’s site. They correctly divined the article I meant to link to, and I have now changed the link accordingly.