Jump to: navigation, search

EclipseLink/Examples/SDO/DynamicAPI

< EclipseLink‎ | Examples‎ | SDO
Revision as of 15:31, 24 February 2009 by Blaise.doughan.oracle.com (Talk | contribs) (Using DataFactory)

Creating DataObjects

Using DataFactory

DataObjects can be created by Type using DataFactory:

Type addressType = TypeHelper.INSTANCE.getType("http://www.example.org/customer-example", "address-type");
DataObject addressDO = DataFactory.INSTANCE.create(addressType);

Using DataObject