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

Difference between revisions of "EclipseLink/UserGuide/SDO/Using EclipseLink SDO (ELUG)"

m (Using DataFactory)
m (Performing Actions on Data Objects at Run Time)
Line 26: Line 26:
 
For more information, see the following:
 
For more information, see the following:
 
* EclipseLink <tt>[http://www.eclipse.org/eclipselink/api/1.1/org/eclipse/persistence/sdo/helper/SDOHelperContext.html SDOHelperContext]</tt> API
 
* EclipseLink <tt>[http://www.eclipse.org/eclipselink/api/1.1/org/eclipse/persistence/sdo/helper/SDOHelperContext.html SDOHelperContext]</tt> API
* [http://wiki.eclipse.org/EclipseLink/Examples/SDO/BasicAPI#HelperContext EclipseLink HelperContext examples]
+
* EclipseLink <tt>[http://wiki.eclipse.org/EclipseLink/Examples/SDO/BasicAPI#HelperContext HelperContext] examples
  
  
Line 32: Line 32:
 
====What You May Need to Know About Local and Global HelperContext====
 
====What You May Need to Know About Local and Global HelperContext====
 
Using the EclipseLink <tt>[http://www.eclipse.org/eclipselink/api/1.1/org/eclipse/persistence/sdo/helper/SDOHelperContext.html SDOHelperContext]</tt> <tt>makeDefaultContext</tt> method, you can promote your local context to become the global (default) one.
 
Using the EclipseLink <tt>[http://www.eclipse.org/eclipselink/api/1.1/org/eclipse/persistence/sdo/helper/SDOHelperContext.html SDOHelperContext]</tt> <tt>makeDefaultContext</tt> method, you can promote your local context to become the global (default) one.
 +
 +
  
 
===Using DataFactory===
 
===Using DataFactory===
Line 40: Line 42:
 
For more information, see the following:
 
For more information, see the following:
 
* EclipseLink <tt>[http://www.eclipse.org/eclipselink/api/1.1/org/eclipse/persistence/sdo/helper/SDODataFactory.html SDODataFactory]</tt> API
 
* EclipseLink <tt>[http://www.eclipse.org/eclipselink/api/1.1/org/eclipse/persistence/sdo/helper/SDODataFactory.html SDODataFactory]</tt> API
* [http://wiki.eclipse.org/EclipseLink/Examples/SDO/BasicAPI#DataFactory_-_Create_DataObjects EclipseLink DataFactory examples]
+
* EclipseLink <tt>[http://wiki.eclipse.org/EclipseLink/Examples/SDO/BasicAPI#DataFactory_-_Create_DataObjects DataFactory] examples
 +
 
 +
 
  
 
===Using XMLHelper===
 
===Using XMLHelper===

Revision as of 10:04, 30 April 2009

This section explains where and how you use EclipseLink SDO to customize your application to meet requirements.


Performing Actions on Data Objects at Run Time

Use the following classes to perform actions on your data objects:


For more information, see EclipseLink SDO examples.


Using HelperContext

SDO defines a HelperContext interface. You use it to access related SDO helper classes that let you perform common operations such as reading and writing XML documents, defining SDO types from XML Schema, and so on.

To obtain a default context, call the HelperProvider getDefaultContext method.

You can obtain the local context provided by EclipseLink as follows:

HelperContext helperContext = new SDOHelperContext();

For more information, see the following:


What You May Need to Know About Local and Global HelperContext

Using the EclipseLink <tt>SDOHelperContext makeDefaultContext method, you can promote your local context to become the global (default) one.


Using DataFactory

You use the DataFactory to create disconnected instances of the DataObject.

You can obtain the DataFactory from the HelperContext, and vice versa.

For more information, see the following:


Using XMLHelper

Information pending


Using DataHelper

Information pending


Using CopyHelper

Information pending


Using EqualityHelper

Information pending

Generating Static SDO Classes at Design Time

Information pending


Performing Integration

Information pending


Integrating SDO with JAXB

Information pending


Integrating SDO with JPA

Information pending


Using SDO as a Web Service Binding Layer

Information pending


How to Use Web Service Attachments

Information pending


Executing XPath with XML

Information pending



Copyright Statement

Back to the top