[CDBI] Help tracking down a problem w/ has_a and unexpected
hartzell at kestrel.alerce.com
Mon Aug 29 00:39:34 BST 2005
George Hartzell writes:
> I'm building a Mason based web app on FreeBSD 6-ish using perl 5.8.6
> and a whole passel of cpan-standard stuff (details if they're
> interesting). I'm using SQLite to store my data and Class::DBI to
> manipulate it. I'm using Class::DBI version 0.96 built via FreeBSD's
> ports system but see similar results with a copy of 0.999.
I hate to reply to my own message, but I've just had an Ah-ha moment
that might be helpful.
The columns that are working seem to be the ones that I give values
when I create() the object. If I take a perfectly good Project object
that has a valid time and do this:
it is still fine, but as soon as I do a $p->update, it's value is
inserted into the DB as a string.
More information about the ClassDBI