This directory contains Visual Basic Samples that demonstrate OO4O features and the support for new Oracle datatypes and features.

They can be divided into the following functional areas

Oracle features (Includes support for Oracle ADTs, REFs, Collections, LOBs etc)
OO4O Automation features
OO4O DataControl features

 

Oracle features (Includes support for Oracle ADTs, REFs, Collections, LOBs, AQ etc)

Metadata - This directory contains a sample that can be used to describe objects in the database.

NestedTable - This directory contains a sample VB application that uses oo4o Nested table features. This sample application creates dynaset object from Nested table instance in the database.

Objects - This directory contains a sample VB application that uses Oracle's objects features. This sample application displays PERSON and ADDRESS object instance from the database. This sample is based on CUSTOMERS table containing PERSON REF column.Navigating rows in the CUSTOMER table displays corresponding PERSON and ADDRESS object instance.

Lob - This directory contains a sample application that uses OO4O LOB features.

OraNumber - This directory contains a sample that demonstrates the functionality and precision of the new OraNumber object. Compare the precision possible with this demo to the precision given by the Calculator tool that is included with NT.

AQ - This directory contains a sample VB application that uses oo4o and demonstrates advanced queueing features such as enqueueing and dequeueing of messages of user-defined types.

Varray - This directory contains a sample VB application that uses oo4o VARRAY features. This sample application creates collection object from VARRAY instance in the database.

Failover - This directory contains a sample VB application that uses the Failover Notification feature. You will need to configure an appropriate tns entry that is setup for failover.

Nonblock - This directory contains a sample VB application that demonstrates executing commands using asynchronous processing.

DBEvents - This directory contains a sample VB applicatoin that demonstrates event notifications when subscribing to Oracle Database events.

OO4O Automation features

QT - This directory contains Visual Basic Quick Tour Guide

ConnPool - This directory contains a sample connection pooling application that uses oo4o.

PLSQLCursor - This directory contains a sample VB application that uses oo4o and displays sales and order information. This uses oracle datacontrol and the multiple cursor (with PL/SQL REF cursors)  feature to display the information using minimal coding.

Longraw - This directory contains a sample that demonstrates binary data transfer between VB Byte array and Oracle LONG RAW column using AppendChunkByte and GetChunkByte methods.

OO4O DataControl features

Datactrl - This directory contains a simple form containing the Oracle Data Control bound to a few commonly used bound controls. This form also demonstrates the support programmatic interface from the Oracle Data Control (e.g. using the find method on the datacontrol)

Dept - This directory contains forms that demonstrate using the Oracle Data Control

Emp - This directory contains forms that demonstrate using the Oracle Data Control

Login - This directory contains a sample which can be used as a test to see whether or not you can properly log into an Oracle Database.

Lookup - This directory contains a sample that demonstrates how to use lookups using Oracle Data Controls.

Parm - This directory contains forms that demonstrate using the Oracle Data Control and the OracleInProcServer. Using parameters means that the query will not be reparsed.

PLSQLCursor - See above in OO4O Automation features