On Tue, Jun 04, 2002 at 06:43:20PM +0200, Stefan Mueller wrote:
> Hello,
> 
> I want to try to subclass DBD::ODBC. 
> 
> Via ODBC I can connect a lot of databases. But for some database
> connections I need specific parameters for $dbh. So, I want to hide
> these parameters in a new pseudo driver.
> 
> Is it possible to subclass a DBD Driver without a lot of trouble? How
> can I set these $dbh parameters?

Subclassing a driver isn't supported yet (I may work on that in a
few months time).

Subclassing the DBI is the recommended way to go. See the "Subclassing
the DBI" section in the DBI docs.

Tim.

Reply via email to