24.12.2012 Views

ER/Studio - Embarcadero Technologies Product Documentation

ER/Studio - Embarcadero Technologies Product Documentation

ER/Studio - Embarcadero Technologies Product Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

USING <strong>ER</strong>/STUDIO > DEVELOPING THE PHYSICAL MODEL<br />

• A combination of complete, varray, and nested table types.<br />

The following database platforms support object types:<br />

• Oracle 8.x, 9i, 10g, and 11g<br />

Create an Object Type<br />

1 In the Data Model Explorer, expand the physical Main Model, right-click the Object Types node, and then click<br />

New Object Type.<br />

2 Complete the tabs of the Object Type Editor and then click OK to create the object type.<br />

TIP: Once you have created the object type, you can edit it by right-clicking the object type you want<br />

to change, and then clicking Edit Object Type.<br />

TIP: The Object Type Editor includes find and replace functionality for working with SQL text strings.<br />

The following describe options that require additional explanation.<br />

Header and Body tab<br />

Enter the SQL to create the object type. The SQL generated from each these tabs will appear in their own SQL<br />

blocks.<br />

Description tab<br />

Enter or edit a description for the object type.<br />

Attachment Bindings tab<br />

Bind an external piece of information, or attachment to the object type. You can also remove an attachment from<br />

an object, override an attachment binding’s default value, or change the position of a bound attachment. To<br />

override the value of the attachment you have moved to the Selected Attachments grid, double-click the Value<br />

field of the target attachment. <strong>ER</strong>/<strong>Studio</strong> opens the Value Override Editor or a list depending on the attachment<br />

datatype. Attachments are created in the Attachments folder of the Data Dictionary. For more information, see<br />

Attaching External Documents to the Data Model.<br />

Creating and Editing Rollback Segments<br />

Rollback Segments allow you to undo, or rollback, DML transactions such as SQL deletes, inserts, and updates that<br />

have been executed on a database. A rollback segment entry contains information about the database records before<br />

they were modified by a transaction.<br />

The following database platforms support rollback segments:<br />

• Oracle 7.x, 8.x, 9i, 10g, and 11g<br />

Create or Edit a Rollback Segment<br />

1 In the Data Model Explorer, expand the Physical Main Model, right-click the Rollback Segments node, and<br />

then click New Rollback Segment.<br />

2 Complete the Rollback Segments Wizard and then click Finish to create the Rollback Segment.<br />

TIP: Once you have created the auxiliary table, you can edit it by right-clicking the rollback segment<br />

you want to change, and then clicking Edit Rollback Segments.<br />

The following describe options that require additional explanation.<br />

EMBARCAD<strong>ER</strong>O TECHNOLOGIES > <strong>ER</strong>/STUDIO® 8.0.3 US<strong>ER</strong> GUIDE 201

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!