Eclipse Data and XML Database Schemas

If you are defining your own XML database schemas or are adding additional information to the default XML schemas provided to you, it is important to understand how Eclipse stores and retrieves data. Understanding the database structure helps to ensure that you enter the correct attribute, value, and sub-value marks in XML Schema Maintenance.

This topic discusses the following information:

Eclipse Database

The Eclipse system stores its information in a nested relational database.

 

Attribute 0

Attribute 1

Attribute 2

Attribute 11

 

Item
ID

First Name

Last Name

Email

Record 1

001

John

Doe

johndoe@nowhere.com

Record 2

002

Jane

Doe

janedoe@nowhere.com

A unique key identifies every record in the system. The key is a number, which the system assigns when you create the record. The system stores the key in attribute number 0 (zero).

Note: You cannot change the unique key in attribute 0.

 

Attribute 0

Attribute 1

Attribute 2

Attribute 11

Attribute 14

Item ID

First Name

Last Name

Email

Phone Number

Record 1

001

John

Doe

johndoe@anywhere.com

Value:: 303-555-1234

Value:  303-555-4321

Record 2

002

Jane

Doe

janedoe@anywhere.com

Value: 303-555-5678

Value: 303-555-8765

XML Database Schemas' Relationship to Eclipse

When defining XML database schemas, it is important to enter the correct attribute, value, and sub-value positions for each data definition within the schema. If the attribute or value marks are incorrect, it can cause data to be stored in the wrong position within a record in the Eclipse database. When creating your own schemas, or entering additional data definitions for existing schemas, study the record layout that you are defining data for in XML Schema Maintenance using Dictionary Maintenance.

For example, in the Contact record, attribute 7 is the contact's address information. When entering a contact in Eclipse you enter the information in the Address field, and the address can be up to two lines long. In the following example, John Doe's contact information is contained in record number 7772, and his address is 123 Anywhere Lane, #12A.

When you save the contact record in above example, the system stores the address information in attribute 7 within the contact record numbered 7772.

Attribute 7 consists of the following values, separated by a superscript 2:

The Contact XML database schema contains attribute 7 and indicates that Address Line 1 is part of attribute 7 in Eclipse, and any information entered there is saved in value 1. Address Line 2 is also part of attribute 7, that information is saved in value 2 of attribute 7.

See Also:

XML Schema Maintenance Overview

Creating XML Database Schemas

Defining XML Database Schema Translation Properties

How XML Database Schemas Form Transactions