Commit 1e5c0d67 authored by zYne's avatar zYne

fixes #333

parent b1a78756
......@@ -69,14 +69,14 @@ class Doctrine_Connection_Oracle extends Doctrine_Connection
$this->options['result_prefetching'] = false;
*/
parent::__construct($manager, $adapter);
}
}
/**
* 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.'";');
public function setDateFormat($format = 'YYYY-MM-DD HH24:MI:SS')
{
$this->exec('ALTER SESSION SET NLS_DATE_FORMAT = "' . $format . '"');
}
/**
* Adds an driver-specific LIMIT clause to the query
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment