DBIx::Class::Loader::DB2 - DBIx::Class::Loader DB2 Implementation.


NAME

DBIx::Class::Loader::DB2 - DBIx::Class::Loader DB2 Implementation.


SYNOPSIS

  use DBIx::Class::Loader;
  # $loader is a DBIx::Class::Loader::DB2
  my $loader = DBIx::Class::Loader->new(
    dsn       => "dbi:DB2:dbname",
    user      => "myuser",
    password  => "",
    namespace => "Data",
    schema    => "MYSCHEMA",
    dropschema  => 0,
  );
  my $class = $loader->find_class('film'); # $class => Data::Film
  my $obj = $class->retrieve(1);


DESCRIPTION

See the DBIx::Class::Loader manpage.


KNOW ISSUES

the DBIx::Class::Loader::DB2 manpage will not pass test suites (nor work quite completely for applications) with the DBIx::Class manpage versions less than 0.05. This is because prior to that release, there was no the DBIx::Class::PK::Auto::DB2 manpage. As long as you don't use any auto-incrementing primary keys, things should be sane though.


SEE ALSO

the DBIx::Class::Loader manpage

 DBIx::Class::Loader::DB2 - DBIx::Class::Loader DB2 Implementation.