Oracle Object FeaturesIn Forms
http://ebiztechnics.blogspot.com
Objectives
• Identify which object types are supported• Describe how object types are
represented within Form Builder• Create a block based on an object table• Create a block based on a relation table
with an object or an REF column• Populate a REF column with an LOV
http://ebiztechnics.blogspot.com
What is an Object Type?
interest
Close
withdraw
Check status
Attributes
Methods
ACCOUNTAc_no
Ac_typeDeposit
Open_date
http://ebiztechnics.blogspot.com
Overview on Objects
• Object tables• Object columns• Object views• REF Columns
REF
http://ebiztechnics.blogspot.com
Oracle 8i Features in Forms
Supported Oracle8i features• Large Objects: BLOB, CLOB, NCLOB, BFILE• User-defined objects
– Object table– Column object– REF column
Unsupported Oracle8i features• Collection types• Stored procedures that return object values
http://ebiztechnics.blogspot.com
How Form Treats Objects
Object_B
Attr_B1
Attr_B2
Attr_A3
Nested Objects
Attr_A1
Attr_A2
Object_A
Attr_A1
Object_A
Attr_A3
Attr_A2_B1
Attr_A2_B2
Items in a Form
http://ebiztechnics.blogspot.com
Creating Data Blocks
• Blocks based on object tables• Blocks based on object columns• Blocks with REF Lookups
http://ebiztechnics.blogspot.com
Block Based on Object Tables
http://ebiztechnics.blogspot.com
Block Based on Object Columns
http://ebiztechnics.blogspot.com
Blocks with REF Lookups
http://ebiztechnics.blogspot.com
Using REF Lookup Value
Select REF attribute columns: This causes the columns to appear as data items at run-time.Select the REF item itself: • This causes the item to be placed on a Null canvas.• The item does not appear at run time.• The item is available for coding purposes.
http://ebiztechnics.blogspot.com
LOVs for REFs
http://ebiztechnics.blogspot.com
Summary
• Identify supported Oracle8i object types• Define data blocks based on object tables• Define data blocks based on tables
with object columns or REF columns• Populate REF columns with an LOV
http://ebiztechnics.blogspot.com