[CDBI] Class::DBI->_init called from Class::DBI->_insert
perrin at elem.com
Mon Nov 21 19:38:34 GMT 2005
On Mon, 2005-11-21 at 17:21 +0000, Andy Sanders wrote:
> Class::DBI->_insert calls Class::DBI->_init. _init looks in the
> Live_Object cache for an existing instance.
It shouldn't find one. You're creating a new object, so by definition
it can't have the same primary key as an existing one. If it does, your
primary key is not defined correctly.
More information about the ClassDBI