[Dbix-class] How to insert multiline fields

Marc Logghe Marc.Logghe at DEVGEN.com
Wed Oct 4 17:22:37 CEST 2006


> >   
> First of - did you try it like you would with any normal parameter?
> 
> $row->$colname($value);
> 

No, I did a create() call, setting all the fields.
In case of the varchar, only the first line is inserted of the multiline
string.
In case of the clob I get an error:
"DBD::Oracle::st execute failed: ORA-01861: literal does not match
format string"

Should I first do a normal create() call omitting the clob and
afterwards call $row->$colname($value) ?
Thanks,
Marc



More information about the Dbix-class mailing list