protected function processSqlStatement($statement, $node)
{
$commandText = (string) $node;
if (strlen($extend = $statement->getExtends()) > 0) {
$superNode = $this->getElementByIdValue($this->_document, '*', $extend);
if ($superNode !== null) {
$commandText = (string) $superNode . $commandText;
} else {
throw new TSqlMapConfigurationException('sqlmap_unable_to_find_parent_sql', $extend, $this->_configFile, $node);
}
}
//$commandText = $this->_xmlConfig->replaceProperties($commandText);
$statement->initialize($this->_manager);
$this->applyInlineParameterMap($statement, $commandText, $node);
}