Hans Lellelid
2007-11-19 12:02:58 UTC
Just forwarding this on to the correct list.
Hans
-------- Original Message --------
Subject: RE: [propel-bugs] Re: [Propel] #430: Oracle Builder/Connection
patches for 1.2
Date: Mon, 19 Nov 2007 10:09:02 +0100
From: Remy Wetzels <***@care.nl>
Reply-To: ***@propel.tigris.org
To: <***@propel.tigris.org>
References: <***@propel.phpdb.org>
<***@propel.phpdb.org>
Hi,
You might want to add this too in creole/contrib/DebugConnection.php:
/**
* OCI8 only: Get the native Oracle Error Message as a string.
*
* @param $result
*/
public function nativeError( $result = null )
{
return $this->childConnection->nativeError($result);
} // function nativeError
When debugging the connection in Oracle, this will prevent a PHP error if an error is raised and will correctly handle the Oracle Error raised...
See creole/drives/oracle/OCI8Connection.php function executeQuery() and other functions, which call $this->nativeError().
Regards,
- Remy Wetzels.
Hans
-------- Original Message --------
Subject: RE: [propel-bugs] Re: [Propel] #430: Oracle Builder/Connection
patches for 1.2
Date: Mon, 19 Nov 2007 10:09:02 +0100
From: Remy Wetzels <***@care.nl>
Reply-To: ***@propel.tigris.org
To: <***@propel.tigris.org>
References: <***@propel.phpdb.org>
<***@propel.phpdb.org>
Hi,
You might want to add this too in creole/contrib/DebugConnection.php:
/**
* OCI8 only: Get the native Oracle Error Message as a string.
*
* @param $result
*/
public function nativeError( $result = null )
{
return $this->childConnection->nativeError($result);
} // function nativeError
When debugging the connection in Oracle, this will prevent a PHP error if an error is raised and will correctly handle the Oracle Error raised...
See creole/drives/oracle/OCI8Connection.php function executeQuery() and other functions, which call $this->nativeError().
Regards,
- Remy Wetzels.
-----Original Message-----
Sent: Friday, November 16, 2007 12:46 AM
Subject: [propel-bugs] Re: [Propel] #430: Oracle Builder/Connection
patches for 1.2
#430: Oracle Builder/Connection patches for 1.2
-----------------------+-----------------------------------------------
-----
Reporter: dwhittle | Owner: hans
Type: defect | Status: assigned
Priority: normal | Milestone: 1.3
Component: Generator | Version: 1.2.1
Keywords: |
-----------------------+-----------------------------------------------
-----
* status: new => assigned
* milestone: => 1.3
Sorry for long delay in getting to this, Dustin. I'll look at these
for
inclusion in 1.3.
--
Ticket URL: <http://propel.phpdb.org/trac/ticket/430#comment:2>
Propel <http://propel.phpdb.org/>
smart, easy object persistence
Sent: Friday, November 16, 2007 12:46 AM
Subject: [propel-bugs] Re: [Propel] #430: Oracle Builder/Connection
patches for 1.2
#430: Oracle Builder/Connection patches for 1.2
-----------------------+-----------------------------------------------
-----
Reporter: dwhittle | Owner: hans
Type: defect | Status: assigned
Priority: normal | Milestone: 1.3
Component: Generator | Version: 1.2.1
Keywords: |
-----------------------+-----------------------------------------------
-----
* status: new => assigned
* milestone: => 1.3
Sorry for long delay in getting to this, Dustin. I'll look at these
for
inclusion in 1.3.
--
Ticket URL: <http://propel.phpdb.org/trac/ticket/430#comment:2>
Propel <http://propel.phpdb.org/>
smart, easy object persistence