[Dbix-class] date_time field for oracle

Will Crawford billcrawford1970 at gmail.com
Wed Oct 26 11:13:33 GMT 2011


On 26 October 2011 12:00, Roger Day <c.roger.day at gmail.com> wrote:
> Hi
>
> I think I've done all the right things for inserting a date-time into a
> Oracle date field, but I keep getting this:
>
> DBI Exception: DBD::Oracle::st execute failed: ORA-01861: literal does not
> match format string (DBD ERROR: error possibly near <*> indicator at char
> 120 in [...]

Usually this means Oracle is expecting a string in whatever your
locale is. Could you shed some light on what your "datetime_setup"
call is doing?



More information about the DBIx-Class mailing list