[Dbix-class] row update error
Ronald Straight
quinnfazigu at gmail.com
Fri Mar 5 16:10:19 GMT 2010
On Fri, Mar 5, 2010 at 10:57 AM, Michael Blanco <blanco217 at gmail.com> wrote:
> Hi,
> I received the error below running this update:
> $lineitem->update({
> 'last_mod_date' =3D> $now,
> 'creative_rcpt_date' =3D> $now,
> });
>
> Error with 1239848: DBIx::Class::Relationship::
> CascadeActions::update(): DBI Exception: DBD::Oracle::st execute failed:
> ORA-01858: a non-numeric character was found where a numeric was expected=
(
>
You're passing the date in a format (the default "YYYY-MM-DD" from DateTime)
that Oracle does not expect.
Are you using the latest DBIx::Class and including the
InflateColumn::DateTime component in your base result class?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20100305/dcd=
27470/attachment.htm
More information about the DBIx-Class
mailing list