Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

EclipseLink/Examples/SDO/MetadataXMLSchema

< EclipseLink‎ | Examples‎ | SDO
Revision as of 11:51, 24 February 2009 by Blaise.doughan.oracle.com (Talk | contribs) (New page: ==Overview== The following example will demonstrate how to use EclipseLink's SDO functionality to: * Define a set of SDO Types from an XML Schema ==Initializing the Types from XML Schema...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Overview

The following example will demonstrate how to use EclipseLink's SDO functionality to:

  • Define a set of SDO Types from an XML Schema

Initializing the Types from XML Schema

The first thing that needs to be done in an SDO application is to set up the metadata for the Types and Properties. This is most commonly done by loading an XML schema, although it may also be done programmatically.

FileInputStream xsdInputStream = new FileInputStream("Customer.xsd");
XSDHelper.INSTANCE.define(xsdInputStream, null);

Back to the top