Data-ObjectDriver
view release on metacpan or search on metacpan
lib/Data/ObjectDriver/Driver/SimplePartition.pm view on Meta::CPAN
=item * C<primary_key>
Your primary key should be a complex primary key (arrayref) with the simple key
of the parent object for the first field.
=back
=head1 DIAGNOSTICS
=over 4
=item * C<using is required.>
The C<using> parameter to the I<SimplePartition> constructor is required to
create the partitioned class's C<get_driver> function. Perhaps you omitted it,
or your subclass of I<SimplePartition> did not properly specify it to its
parent's constructor.
=item * C<Bogus classname.>
The parent class name you specified in your C<using> parameter does not appear
to be a valid class name. If you are automatically generating parent class
names, check that your method of converting strings to class names is correct.
=item * C<Failed to load parent class: I<error>>
The parent class you specified in your C<using> parameter could not be loaded,
for the given reason. Perhaps you didn't include its location in your library
path.
=item * C<Partitioning driver not defined for I<partitioned class>>
The partitioned class named in the error is configured to use the
I<SimplePartition> driver but does not have a C<partition_get_driver> set.
Check that you intended to use I<SimplePartition> with that class or, if you're
automatically specifying the C<partition_get_driver> function, that your
technique is working correctly.
=item * C<Cannot extract I<column> from terms I<search terms or primary key>>
The I<SimplePartition> driver could not determine from the given search terms
or object key what the ID of the related parent record was. Check that your
columns in the partitioned and parent classes share the same name, and that
your application includes the parent ID in all C<search()> calls for the
partitioned class and instances of partitioned objects before attempting to
save them.
Optionaly you can enable a basic support of search across multiple
partition by passing the 'multi_partition' arg (true value) to the search
query.
=item * C<Member of I<class> with ID I<parent ID> not found>
The parent record associated with the partitioned object could not be loaded.
Perhaps your application deleted the parent record without removing its
associated partitioned objects first.
=back
=head1 BUGS AND LIMITATIONS
There are no known bugs in this module.
=head1 SEE ALSO
L<Data::ObjectDriver::Driver::Partition>
=head1 LICENSE
I<Data::ObjectDriver> is free software; you may redistribute it and/or modify
it under the same terms as Perl itself.
=head1 AUTHOR & COPYRIGHT
Except where otherwise noted, I<Data::ObjectDriver> is Copyright 2005-2006
Six Apart, cpan@sixapart.com. All rights reserved.
=cut
( run in 0.398 second using v1.01-cache-2.11-cpan-39bf76dae61 )