|Subject:||CDBICompat layer does not check db_Main() for database handle each use.|
Class::DBI calls db_Main() each time it needs a database handle. This allows you to override db_Main() to have full control over the database handle being used. The DBIC compatibility layer does not appear to do this, it instead only checks db_Main if the database handle is not connected. Passing a code ref into connection() has a similar behavior. I'm not sure how to fix this, or if its fixable, but it should be noted as an incompatibility.