Problem is in CLOB
data type used in column about
. Answer fot this is given in notes for Oracle adapter, especially:
By default, LOB fields are returned as OCI-Lob objects. You could retrieve them as string for all requests by using driver options 'lob_as_string' or for particular request by using setLobAsString(boolean) on adapter or on statement.
So the solution is really simple, just call setLobAsString(true)
before fetchOne()
like this:
$about = Zend_Registry::get('db')->setLobAsString(true)->fetchOne($sql, $binds);
echo $about; // string