* XMLDescriptors (and mappings) and DatabaseQuery's
*/
AdvancedJDBCQueryBuilder queryBuilder =
new AdvancedJDBCQueryBuilder(dbStoredProcedures, dbStoredProcedure2QueryName);
AdvancedJDBCORDescriptorBuilder orDescriptorBuilder = new AdvancedJDBCORDescriptorBuilder();
AdvancedJDBCOXDescriptorBuilder oxDescriptorBuilder =
new AdvancedJDBCOXDescriptorBuilder(getTargetNamespace(), nct);
PublisherListenerChainAdapter chain = new PublisherListenerChainAdapter();
chain.addListener(queryBuilder);
chain.addListener(orDescriptorBuilder);
chain.addListener(oxDescriptorBuilder);
PublisherWalker walker = new PublisherWalker(chain);
procOpModel.getJPubType().accept(walker);
if (orDescriptorBuilder.getDescriptors() != null) {
for (ObjectRelationalDataTypeDescriptor ordtDescriptor : orDescriptorBuilder.getDescriptors()) {
orProject.addDescriptor(ordtDescriptor);
}
}
if (oxDescriptorBuilder.getDescriptors() != null) {
for (XMLDescriptor xdesc : oxDescriptorBuilder.getDescriptors()) {
oxProject.addDescriptor(xdesc);
}
}
List<DatabaseQuery> newQueries = queryBuilder.getQueries();
if (newQueries != null) {