On 6/27/07, Philip Dye <[EMAIL PROTECTED]> wrote:
> Should not Rose::DB::Object complain at some point during
> setup or perhaps on first use of the class when a listed
> primary key column is missing from the list of columns ?

I have a check for this in Metadata.pm:

  foreach my $name ($self->primary_key_column_names)
  {
    my $column = $self->column($name) or
      Carp::croak "Could not find column for primary key column name '$name'";
    ...

Can you give me some sample code that demonstrates the error?

-John

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to