O.K. I am still struggling with scarab, but I already included my driver in DBFactory. I will send the patch to you as soon as I make all this work. -- Humberto
-----Original Message----- From: John McNally [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 5:58 PM To: Turbine Developers List Subject: Re: Driver dependencies in Torque 3.0 Please send a patch to get your driver included in DBFactory. There is not much reason to recode to the old style. Soon torque will use any connection pool and the adapter will be specified in the properties file. Similar to the old way, but there will be no tie between the adapter and the driver (if a driver is even used.) john mcnally Humberto Hernandez Torres wrote: > > I was trying to make Scarab run with MS SQL but my driver JDBC wasn�t being > recognized. After looking around for a while and downloading the CVS sources > for torque-3.0. I found that in org.apache.torque.adapter.DBFactory there is > a map with the databases and the available drivers. This mapping didn�t seem > to be there in the previous versions and I don�t think it should be > hardcoded since it makes you loose the flexibility to use your favorite JDBC > driver. > > �What is the purpose of the new version? �Shouldn't we go back to the > previous configurable adapters? > > This used to work in TurbineResources.properties: > services.DatabaseServices.database.adaptor=DBMSSQL > services.DatabaseServices.database.DBMSQL=com.jnetdirect.jsql.JSQLDriver > > -- > Humberto > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
