public function prepare()
{
if ($this->_statement == null) {
try {
$this->_statement = $this->getConnection()->getPdoInstance()->prepare($this->getText());
} catch (Exception $e) {
throw new TDbException('dbcommand_prepare_failed', $e->getMessage(), $this->getText());
}
}
}