[CDBI] Re: Error deleting object with has_many instances

Perrin Harkins perrin at elem.com
Tue Feb 7 22:47:48 GMT 2006


On Tue, 2006-02-07 at 16:37 -0600, Peter Speltz wrote:
> I think this maybe a perpared_cached issue or something.  I read some
> on another post and tried :
> $self->db_Main->{CachedKids} = {};
> $self->db_Main->{mysql_auto_reconnect} = 0;

It doesn't look like a MySQL or DBI issue -- Class::DBI just seems to be
generating invalid SQL.  I've never seen this error, but I don't use
your version (I run 0.96).

Why don't you post the code that sets up the has_many and the classes in
question?

- Perrin





More information about the ClassDBI mailing list