. */ /** * Doctrine_Connection_Oracle * * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @link www.phpdoctrine.org * @since 1.0 * @version $Revision$ * @author Konsta Vesterinen * @deprecated */ class Doctrine_Connection_Oracle extends Doctrine_Connection { /** * @var string $driverName the name of this connection driver */ protected $driverName = 'Oracle'; public function __construct(array $params) { parent::__construct($params); } /** * Sets up the date/time format * */ public function setDateFormat($format = 'YYYY-MM-DD HH24:MI:SS') { $this->exec('ALTER SESSION SET NLS_DATE_FORMAT = "' . $format . '"'); } }