is.read(b);
String instanceDoc = new String(b);
System.out.println(instanceDoc);
XMLDocument doc = scope.getXMLHelper().load(
ClassLoader.getSystemResourceAsStream(SampleInfrastructure.COMPANY_DATAGRAPH_XML));
commentary(
"Now we can get the wrapper for the data graph, which in this case is the DataObject\n"+
"of type commonj.sdo#DataGraph. Note how there's no magic here; no special class for\n"+
"DataGraph, no special handling, this is just a standard pattern of using a built in SDO Type.\n"+
"The wrapper is there purely because it was serialized\n"+
"into the XML document, using the standard serialization technique.\n\n" +
"DataObject dataObjectRepresentingDataGraph = doc.getRootObject();");
DataObject dataObjectRepresentingDataGraph = doc.getRootObject();
System.out.println(dataObjectRepresentingDataGraph);
commentary(
"If you are confused by the fact that what we really get is an instance of DataGraphTypeImpl\n"+