Index: Db/Adapter/Pdo/Oci.php =================================================================== --- Db/Adapter/Pdo/Oci.php (revisão 9979) +++ Db/Adapter/Pdo/Oci.php (cópia de trabalho) @@ -110,7 +110,8 @@ if (is_int($value) || is_float($value)) { return $value; } - return "'" . addcslashes($value, "\000\n\r\\'\"\032") . "'"; + $value = str_replace("'", "''", $value); + return "'" . addcslashes($value, "\000\n\r'\"\032") . "'"; } /** @@ -337,4 +338,14 @@ return $limit_sql; } + /** + * Oracle don't use symbol for delimited identifiers. + * + * @return empty string + */ + public function getQuoteIdentifierSymbol() + { + return ''; + } + }