[Dbix-class] How to insert multiline fields
Ash Berlin
ash at cpan.org
Wed Oct 4 17:40:28 CEST 2006
Marc Logghe wrote:
>>>
>>>
>> 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
>
>
TIAS - if not, then someone has got some fun on their hands.
Ash
More information about the Dbix-class
mailing list