+ "' factory='"
+ factory
+ "'>.");
if (nodeName == null) {
throw new ConfigurationException("Error: <node> without 'name'.");
}
factory = convertClassNameFromV1_2(factory);
adapter = convertClassNameFromV1_2(adapter);
if (dataSource == null) {
logger.info("Warning: <node> '" + nodeName + "' has no 'datasource'.");
}
if (factory == null) {
if (config.getDataSourceFactory(null) != null) {
logger.info("Warning: <node> '" + nodeName + "' without 'factory'.");
}
else {
throw new ConfigurationException("Error: <node> '"
+ nodeName
+ "' without 'factory'.");
}
}