According to the subclassing posts that are out there, one of the things
that you're supposed to do when subclassing DBI is to call
__PACKAGE__->init_rootclass().  That works fine.

However, when you use Apache::DBI, Apache::DBI will be used to make
the connection, but an Apache::DBI::db connection won't be returned
to you; a connection from your class will.  If the init_rootclass()
is removed from the subclass, all works as expected, but of course,
you lose any adjustments you may have made withing subclass::db
and subclass::st.

Is this a known bug?  Is there a workaround?  It'd be nice to have
the benefits of Apache::DBI with full subclassing of the DBI::db
and DBI::st classes.

* Philip Molter
* Texas.net Internet
* http://www.texas.net/
* [EMAIL PROTECTED]

Reply via email to