System.out.println("ERROR : Collection not found!");
return false;
}
// Create an instance of the collection manager and create the collection
CollectionManager colman = (CollectionManager) col.getService("CollectionManager", XMLDBAPIVERSION);
String colPath;
if (!"".equals(table.getString(XMLTools.FILE_PATH))) {
colPath = config.getDocumentElement().getAttributeNode("name").getNodeValue();
} else {
colPath = table.getString(XMLTools.NAME_OF);
}
tempcol = colman.createCollection(colPath, config);
System.out.println("Created : " + table.getString(XMLTools.COLLECTION) + "/" + colPath);
} finally {
// Release the collection objects
if (col != null) {