Re: CLOB in cakephp 1.2

2008-02-02 Thread Tristan
Nik we have been using your behavior and were getting errors when going through foreach($this-model-_schema-value as $key = $value) { ... } it appeared $this-model-_schema-value is not a valid array (did not exist for us), we removed the -value part and it worked just fine. Thanks a lot for the

Re: CLOB in cakephp 1.2

2008-01-31 Thread Chris
Nik, I have downloaded you behavior am put it in app/models/behaviors/ clob.php Then in my app_model.php file, I put var $actsAs = array('Clob'); It appears to include the Clob Behavior, but doesn't appear to do anything. We are trying to use it with Cake's ability to store sessions in the

Re: CLOB in cakephp 1.2

2008-01-03 Thread Nik Chankov
Guys, the problem is solved with a CLOB behaviour. I just publish it on my blog. here is the url: http://nik.chankov.net/2008/01/03/cakephp-and-oracle-handling-clob-fields/ Hopefully it will help you Regards Nik On 7 Дек 2007, 22:24, sanderken [EMAIL PROTECTED] wrote: Hello Lauwens, What a

Re: CLOB in cakephp 1.2

2007-12-07 Thread Lauwens
I am trying to do the exact same thing (what a coincidance) I only found a ticket with a patch about this here: https://trac.cakephp.org/ticket/2294 But that doesn't seem to do the trick... Maybe we can get in contact with cedsav for our problem ? On 5 dec, 01:28, sanderken [EMAIL

Re: CLOB in cakephp 1.2

2007-12-07 Thread sanderken
Hello Lauwens, What a coincidance, yes :) I'm still trying to bind the 4000 string from php to the CLOB field. I manage to READ the data ( I manually put into the database ) with no problem, I just can't push the data back into the database. I read about the ticket, the solution lies there

Re: CLOB in cakephp 1.2

2007-12-05 Thread sanderken
I read throught the oracle php cookbook and probably searched on the wrong searchterms ;) Thanks for the response. I encountered such an example of binding here: http://www.oracle.com/technology/pub/articles/oracle_php_cookbook/fuecks_lobs.html eg: ?php // etc. $sql = INSERT INTO

Re: CLOB in cakephp 1.2

2007-12-05 Thread AD7six
On Dec 5, 10:19 am, sanderken [EMAIL PROTECTED] wrote: I read throught the oracle php cookbook and probably searched on the wrong searchterms ;) Thanks for the response. I encountered such an example of binding here:http://www.oracle.com/technology/pub/articles/oracle_php_cookbook/fue...

Re: CLOB in cakephp 1.2

2007-12-05 Thread AD7six
On Dec 5, 1:28 am, sanderken [EMAIL PROTECTED] wrote: Hello everybody. After a long quest on the internet and through the cakephp API, I can't find a solution to my problem . Here goes: Cakephp is working great with my oracle database. Now I want to store messages 4000 chars

CLOB in cakephp 1.2

2007-12-04 Thread sanderken
Hello everybody. After a long quest on the internet and through the cakephp API, I can't find a solution to my problem . Here goes: Cakephp is working great with my oracle database. Now I want to store messages 4000 chars (VARCHAR2). So I want to go with a CLOB. When I fill the data straight