fixes #333
This commit is contained in:
parent
b1a7875618
commit
1e5c0d674c
@ -69,14 +69,14 @@ class Doctrine_Connection_Oracle extends Doctrine_Connection
|
|||||||
$this->options['result_prefetching'] = false;
|
$this->options['result_prefetching'] = false;
|
||||||
*/
|
*/
|
||||||
parent::__construct($manager, $adapter);
|
parent::__construct($manager, $adapter);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Sets up the date/time format
|
* Sets up the date/time format
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public function setDateFormat($format = 'YYYY-MM-DD HH24:MI:SS')
|
public function setDateFormat($format = 'YYYY-MM-DD HH24:MI:SS')
|
||||||
{
|
{
|
||||||
$this->exec('ALTER SESSION SET NLS_DATE_FORMAT "'.$format.'";');
|
$this->exec('ALTER SESSION SET NLS_DATE_FORMAT = "' . $format . '"');
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Adds an driver-specific LIMIT clause to the query
|
* Adds an driver-specific LIMIT clause to the query
|
||||||
|
Loading…
x
Reference in New Issue
Block a user