I am not sure of the differences between the coupled and the de-coupled since I have only ever used the de-coupled version of Torque. But, for running an application using torque use the Torque.properties file:
here is part of mine for using MySQL: # ------------------------------------------------------------------- # # T O R Q U E P R O P E R T I E S # # ------------------------------------------------------------------- # These are your database settings. Look in the # org.apache.torque.pool.* packages for more information. # # The parameters to connect to the default database. You MUST # configure these properly. # ------------------------------------------------------------------- torque.database.default=my_db torque.database.my_db.driver = org.gjt.mm.mysql.Driver torque.database.my_db.url = jdbc:mysql://127.0.0.1/my_db torque.database.my_db.username = username torque.database.my_db.password = ******* At 01:20 PM 4/30/2002 -0700, you wrote: >Hi, > >If I want to use a new JDBC driver, how do I register it in the properties >file? In the coupled Turbine, I did this: > >database.adaptor.DBMSSQL=com.jnetdirect.jsql.JSQLDriver > >But I can't figure out how to do it with stand-alone Torque. Apparently the >Microsoft JDBC driver is the default. But if I use a different one i get >this error: > >org.apache.torque.TorqueException: Unknown JDBC driver: >com.jnetdirect.jsql.JSQLDriver: Check your configuration file > >Thanks, WILL >_______________________________________ >Forio Business Simulations >Will Glass-Husain >(415) 440-7500 phone >(415) 235-4293 mobile >[EMAIL PROTECTED] >www.forio.com > > >-- >To unsubscribe, >e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]>
