Oracle8i Study notes (3)

Source: Internet
Author: User
oracle| Note oracle8.0 is an object relational database because it is not a pure object-oriented database or a pure relational database, representing a combination of both.
The following reasons can convince everyone that the object-oriented approach will become mainstream
1: Object-oriented databases are backward-compatible with the user's current relational database, because users can migrate the current relational database and applications into oracle8i without rewriting them.
2: The object database now supports specific queries for SQL database standards, and one of the reasons the business community used to quickly accept relational databases is the ability to create special queries. The object database is now available to the standard SQL tool interface. means that you can easily transition from a relational database to an object database.
3: The combination of object-oriented and relational expression is semantically clear in oracle8i, much more powerful than individual relationships or object-oriented expressions. This makes it easier to design compact and efficient databases.
4: An Object relational database is a database that can store data, the relationship between data, and the behavior of the data (that is, how it interacts with other data). It doesn't just stay on the low-level level of processing data, but it goes up to the level of the object that handles the data.

The basic object-oriented concepts are studied below, but are biased toward database-oriented objects:

Object: A software representation of a real-world entity, consisting of attributes and operations.
Class: You can classify multiple objects, similar to each other's behavior and attributes, into classes. The class is the template for the object. Objects are entities that contain flesh and blood for a class.
Encapsulation (encapsulation): an exponent is bound to a particular object so that its access can only be performed through the actions provided or accepted by the object (this avoids illegal access). Encapsulation means that each object in the database has a well-defined interface.
Data triggers (Database trigger): A relational database has an encapsulated form, but it does not have the ability to be a tool that provides encapsulation functionality, because too much database triggers degrade the performance of the entire database.
Extensibility (Extensibility): A capability for object-oriented databases to add new objects and their behavior without affecting other objects and applications.
Inheritance (inheritance): A form of code sharing. Subclasses can have the data and behavior of the parent class. It is the ability to create a new class of objects as a specialization of an existing class.
Polymorphism (polymorphism): It is the object's ability to react differently to the same message. The same object responds differently based on the information provided and understands the context in which the information is entered.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.