ITEC 4220 - L3: Object-Relational DBMSs (Oracle 19c)

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall with Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/75

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

76 Terms

1
New cards
ORDBMS (Object-Relational DBMS)
A relational DBMS extended with object features like user-defined types methods complex objects and limited inheritance behavior.
2
New cards
Oracle object type (ADT)
A user-defined type created with AS OBJECT that bundles attributes and method signatures into one datatype.
3
New cards
Object type specification
The CREATE TYPE definition that lists attributes and declares methods without the method code.
4
New cards
Object type body
The CREATE TYPE BODY definition that contains the implementation code for the methods declared in the type specification.
5
New cards
Attribute in an object type
A named property stored inside an object instance such as id name or date.
6
New cards
Method in an object type
An operation associated with an object type that can read or modify the object’s state.
7
New cards
MEMBER method
An instance method that runs on a specific object instance and can access its attributes using SELF.
8
New cards
STATIC method
A type-level method that is not tied to a particular instance and does not use SELF as an instance reference.
9
New cards
FUNCTION method
A method that returns a value and can be used in expressions and SELECT statements.
10
New cards
PROCEDURE method
A method that performs an action and returns no value.
11
New cards
SELF
Implicit reference to the current object instance inside a member method implementation.
12
New cards
Object constructor call
Creating an object by calling the type name like a function and passing attribute values in order.
13
New cards
Public object attributes in Oracle
Attributes are directly readable with SELECT and directly changeable with UPDATE rather than being hidden behind getters.
14
New cards
Built-in character types (Oracle)
Common string datatypes such as CHAR NCHAR VARCHAR2 and NVARCHAR2.
15
New cards
Built-in numeric and date types (Oracle)
Common scalar datatypes such as NUMBER DATE and TIMESTAMP used for object attributes.
16
New cards
Large object types (Oracle)
Datatypes for large text or binary data such as CLOB and BLOB.
17
New cards
RAW and LONG RAW (Oracle)
Binary datatypes for storing raw bytes often used for legacy or specific binary fields.
18
New cards
MAP method
A special method that returns a scalar value used to compare and sort object instances.
19
New cards
ORDER method
A special method that directly compares two objects and returns a negative zero or positive integer.
20
New cards
MAP method signature pattern
MAP MEMBER FUNCTION returning a scalar datatype and taking no parameters.
21
New cards
ORDER method signature pattern
ORDER MEMBER FUNCTION taking an object parameter and returning INTEGER for comparison ordering.
22
New cards
MAP vs ORDER exclusivity rule
Only one of MAP or ORDER can be defined for a given object type.
23
New cards
MAP or ORDER in a hierarchy rule
Comparison logic using MAP or ORDER must be declared in the supertype when a type has subtypes.
24
New cards
Nested object type
An object type used as an attribute inside another object type creating embedded structured values.
25
New cards
Row object
An object instance stored as a row in an object table and treated as a database object with an identifier.
26
New cards
OID (Object Identifier)
System-managed identity for row objects in an object table that is independent of attribute values.
27
New cards
Nested object OID rule
Embedded nested objects are treated like literal values and do not have their own OIDs.
28
New cards
REF type
A reference datatype that stores a pointer-like reference to a row object of a specified object type.
29
New cards
REF column
An attribute or table column declared as REF TypeName used to reference an object stored in an object table.
30
New cards
DEREF
Oracle operation that follows a REF and returns the referenced object instance.
31
New cards
VALUE(alias)
Oracle operation that returns the full object value for rows from an object table alias.
32
New cards
TREAT
Oracle operation used to treat an object or REF as a specific subtype so subtype-only attributes or methods can be accessed.
33
New cards
Incomplete object type
A forward declaration created with CREATE TYPE TypeName to break circular dependency during type creation.
34
New cards
Circular reference problem
A design where two types reference each other requiring forward declaration before full definitions.
35
New cards
Object table
Creating a table whose rows are objects using CREATE TABLE table_name OF object_type.
36
New cards
Extent in Oracle object tables
The set of all row objects stored in an object table for a given object type.
37
New cards
System-generated OID option
Using OBJECT IDENTIFIER IS SYSTEM GENERATED so Oracle assigns row object identity automatically.
38
New cards
SCOPE IS constraint
A constraint on a REF column that restricts referenced objects to come from a specific object table.
39
New cards
Primary key constraint on object tables
A uniqueness constraint that can be applied to object attributes when needed for business keys.
40
New cards
REF primary key restriction
A REF attribute cannot be used as the primary key for an object table.
41
New cards
CHECK constraint
Constraint that enforces a boolean condition on attribute values in object tables.
42
New cards
NOT NULL constraint
Constraint that prevents NULL values in selected attributes or columns.
43
New cards
UNIQUE constraint
Constraint that enforces uniqueness of attribute values across rows.
44
New cards
ALTER TABLE on object tables
Using ALTER TABLE to add modify or drop constraints on an object table.
45
New cards
DROP TABLE CASCADE approach
Dropping a table while removing dependent constraints or references that would otherwise block the drop.
46
New cards
Insert object with constructor
INSERT pattern that uses TypeName(value1 value2 ...) to populate an object table row.
47
New cards
Nested constructor insertion
Creating complex objects by calling constructors inside other constructors for nested object attributes.
48
New cards
REF retrieval for insert
Creating a REF value by selecting REF(alias) from the referenced object table.
49
New cards
Two-step REF assignment
Inserting with NULL for a REF column then updating it using a subquery that returns REF(alias).
50
New cards
Dot notation for attributes
Accessing an attribute of an object value using alias.object_column.attribute_name.
51
New cards
Updating object attributes
UPDATE statements can change object attributes directly using dot notation on the object column.
52
New cards
Update scope limitation
An UPDATE statement can modify only one target table at a time even when objects reference other tables.
53
New cards
Referenced object update rule
Updating the attributes of a referenced object is done through its own object table not through the REF holder.
54
New cards
Deleting objects from an object table
Removing row objects with DELETE while handling dependent references according to constraints and design.
55
New cards
Object-relational complex object support
Support for structured nested values and collections without forcing everything into flat tables.
56
New cards
Object-relational identity support
Support for object identity via OID and referencing via REF to model relationships more directly.
57
New cards
Single inheritance in Oracle object types
Oracle object types support one direct supertype for a subtype rather than multiple inheritance.
58
New cards
FINAL type
A type that cannot have subtypes and is the default if NOT FINAL is not specified.
59
New cards
NOT FINAL type
A type that allows subtypes to be defined under it enabling inheritance.
60
New cards
ALTER TYPE NOT FINAL
Changing a type definition so it can have subtypes when the design evolves.
61
New cards
NOT INSTANTIABLE type
An abstract type that cannot be directly constructed into instances and has no constructor.
62
New cards
Instantiable type
A concrete type that can be used to create object instances and store them in object tables.
63
New cards
Object table creation rule for instantiability
Object tables are created only for instantiable types not for abstract types.
64
New cards
Overloading
Same method name with different parameter lists allowing multiple versions of an operation.
65
New cards
Overriding
Providing a new implementation for an inherited member method in a subtype.
66
New cards
Hiding
Redefining a static method name in a subtype which hides the supertype static method.
67
New cards
OVERRIDING keyword requirement
Subtypes must explicitly declare OVERRIDING when overriding a member method in Oracle.
68
New cards
Final method restriction
Only member methods declared NOT FINAL are eligible to be overridden in subtypes.
69
New cards
Non-instantiable method
A method declared in an abstract type that subtypes must implement or override before instances can use it.
70
New cards
Subtype extension
Adding new attributes or methods in a subtype while inheriting all supertype features.
71
New cards
Inherited features propagation
Changes to a supertype are inherited by subtypes so the hierarchy stays consistent.
72
New cards
Polymorphic access via TREAT
Accessing subtype-specific attributes or methods by treating a supertype reference as a subtype.
73
New cards
REF-based relationship modeling
Representing relationships by storing REFs rather than foreign keys to enable object-style navigation.
74
New cards
SCOPE-based referential control
Limiting where a REF can point to by enforcing a specific target object table.
75
New cards
MAP-based ordering behavior
Object ordering defined by mapping objects to a scalar value used in ORDER BY and comparisons.
76
New cards
ORDER-based ordering behavior
Object ordering defined by comparing two objects and returning an integer ranking.

Explore top flashcards

DECA Marketing
Updated 1080d ago
flashcards Flashcards (409)
1.1
Updated 115d ago
flashcards Flashcards (29)
Criminal Law
Updated 490d ago
flashcards Flashcards (36)
unit 6 gradesavers
Updated 1045d ago
flashcards Flashcards (58)
Ecology
Updated 1039d ago
flashcards Flashcards (124)
DECA Marketing
Updated 1080d ago
flashcards Flashcards (409)
1.1
Updated 115d ago
flashcards Flashcards (29)
Criminal Law
Updated 490d ago
flashcards Flashcards (36)
unit 6 gradesavers
Updated 1045d ago
flashcards Flashcards (58)
Ecology
Updated 1039d ago
flashcards Flashcards (124)