Workaround for the nasty oracle clob bug in symfony

Posted by & filed under symfony.

There is a nasty bug in symfony (or better pdo_oci) that prevents symfony from working properly with clob fields in oracle when using doctrine. Here is what I’ve done to make working with clob fields possible: Imagine you have a table like this, where “nasty_clobfield” is a clob: NastyTable: connection: doctrine tableName: NASTY_TABLE columns: id_nasty_table:… Read more »

Testpost

Posted by & filed under symfony.

Dies ist ein Testpost. Schauen wir mal, ob Syntaxhighlighting funktioniert. Hier ein kleiner Codeschnipsel aus meinem aktuellen Projekt: public function getComments( $orderby = ‘ASC’ ) { $q = Doctrine_Query::create() ->from( ‘RatingComment rc’ ) ->where( ‘rc.rating_id = ‘ . $this->getId() ) ->orderBy( ‘rc.created_at ‘ . $orderby ); return $q; }