__PACKAGE__->load_components(qw/PK::Auto/);
-sub last_insert_id
-{
- my ($self) = @_;
+1;
- my $dbh = $self->storage->dbh;
- my $sth = $dbh->prepare_cached("VALUES(IDENTITY_VAL_LOCAL())");
- $sth->execute();
+=head1 NAME
- my @res = $sth->fetchrow_array();
+DBIx::Class::PK::Auto::DB2 - (DEPRECATED) Automatic primary key class for DB2
- return @res ? $res[0] : undef;
-
-}
+=head1 SYNOPSIS
+
+Just load PK::Auto instead; auto-inc is now handled by Storage.
+
+=head1 AUTHORS
+
+Matt S Trout <mst@shadowcatsystems.co.uk>
+
+=head1 LICENSE
+
+You may distribute this code under the same terms as Perl itself.
+
+=cut