Re: [RDBO] auto_initialize from custom $dbh

2007-02-06 Thread mreece
working up an extra simpler test case, i managed to get it working with an extra simpler $dbh. for posterity, this is what i hope and ultimately does work, to bootstrap some source files for hand-editing. #!perl use strict; use warnings; use DBI; ## Set up $dbh our $dbh; BEGIN { $dbh = DBI

[RDBO] auto_initialize from custom $dbh

2007-02-06 Thread Michael Reece
i am getting the following error when trying to auto_initialize a table class from a custom $dbh: Could not auto-retrieve primary key columns for class My::Junk - no primary key info found for catalog '' schema '' table 'junk' the table is very simple: mysql> create table junk ( junk_id