http://qs321.pair.com?node_id=399916


in reply to •Re^3: DB persistence framework for Perl Classes
in thread DB persistence framework for Perl Classes

From what I understand, Class::DBI needs a existing data-model to derive its classes from while HDB does not impose that constraint. At least, that was one of the constraints of Class::DBI when I looked at it, which has been a while ago.

-- JaWi

"A chicken is an egg's way of producing more eggs."

  • Comment on Re^4: DB persistence framework for Perl Classes

Replies are listed 'Best First'.
Re^5: DB persistence framework for Perl Classes
by Joost (Canon) on Oct 17, 2004 at 15:14 UTC
      Indeed it is Class::DBI::Loader that provides the functionality I was talking about. Nevertheless, Class::DBI (and its derivatives) still need an existing data-model. Ad hoc modifications of the data-model is not supported by Class::DBI.

      -- JaWi

      "A chicken is an egg's way of producing more eggs."

        SInce Class::DBI allows __PACKAGE__->db_Main->do( $sql );, and indeed __PACKAGE__->db_Main->anyDBImethod();, there is very little it won't support.