db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fox <Thomas....@seitenbau.net>
Subject Re: Autodetect adapters
Date Mon, 29 Aug 2011 11:37:00 GMT

Noctarius schrieb am 28.08.2011 12:44:58:
> Am 28.08.2011 12:41, schrieb Thomas Vandahl:
> > Hi folks,
> >
> > I wrote a hack around Torque 3.3 to allow the auto-detection of the
> > correct database adapter from the JDBC connection meta data. It
> > basically uses the database product name to select the adapter.
> >
> > Would that be a useful extension to Torque4? It would be even easier to
> > implement if I modified the factory and the Torque instance.
>
> I guess it would be a nice addition but you must have the
> possibility to explicitly choose one as well since our application
> has two db drivers (MySQL / DB2).

I am also in favour of adding this to Torque 4, however I am not sure
whether autodetection should be the default configuration or not. I'm ok
with both.

   Thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message