public P3DScriptNodeMap perform(ReadGraph graph) throws DatabaseException {
PipingRules.setEnabled(false);
IMappingSchema<Resource, Object> schema = SchemaBuilder.getSchema(graph);
- IMapping mapping = Mappings.createWithListening(schema);
+ IMapping<Resource, Object> mapping = Mappings.createWithListening(schema);
P3DRootNode rootNode = (P3DRootNode)mapping.map(graph, root);
try {
P3DUtil.finalizeDBLoad(rootNode);
+ // FIXME: Something needs to be done here...
+ P3DUtil.finalizeDBLoad2(rootNode);
} catch (Exception e) {
throw new DatabaseException(e);
}
public P3DRootNode perform(ReadGraph graph) throws DatabaseException {
PipingRules.setEnabled(false);
IMappingSchema<Resource, Object> schema = SchemaBuilder.getSchema(graph);
- IMapping mapping = Mappings.createWithoutListening(schema);
+ IMapping<Resource, Object> mapping = Mappings.createWithoutListening(schema);
P3DRootNode rootNode = (P3DRootNode)mapping.map(graph, root);
try {
P3DUtil.finalizeDBLoad(rootNode);
+ P3DUtil.finalizeDBLoad2(rootNode);
} catch (Exception e) {
throw new DatabaseException(e);
}