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 coincidance, yes :)
>
> I'm still trying to bind the >4000 string from php to theCLOBfield.
> 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 indeed, but I have no
> idea how to do it.
>
> Does someone know how to "save" a model with aclobinside?
>
> Thanks in advance
>
> On 7 dec, 16:55, Lauwens <[EMAIL PROTECTED]> wrote:
>
> > 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 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 (VARCHAR2). So I want to go with aCLOB.
>
> > > When I fill the data straight in the database with some 20k
> > > characters , all happens as wanted: model reads theCLOBand prints
> > > it. No problem.
>
> > > Now the REAL problem: I can't get the data BACK into the database !
>
> > > This is the error: Warning (2): ociexecute() [function.ociexecute]:
> > > ORA-01704: string literal too long [CORE/cake/libs/model/datasources/
> > > dbo/dbo_oracle.php, line 291]
>
> > > Help would be greatly appreciated !
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to