Hello,

I get the following error each time I use MS SQL as my database server:
Horrible Exception: java.lang.Error: Error in
BasePeer.initTableSchema(TURBINE_USER): There was no DataSourceFactory
configured for the connection default

My Torque.properties is essentially as follow:

torque.database.default=default
torque.database.default.adapter=mssql

### Microsoft SQL
torque.dsfactory.default.connection.driver = net.avenir.jdbc3.Driver
torque.dsfactory.default.connection.url =
jdbc:AvenirDriver://adsebiz:1433/jetspeed
torque.dsfactory.default.connection.user =  jetspeed
torque.dsfactory.default.connection.password = jetspeed

torque.dsfactory.default.factory=org.apache.torque.dsfactory.TorqueDataSourceFactory
# The number of database connections to cache per ConnectionPool instance
(specified per database)
torque.dsfactory.default.pool.defaultMaxConnections=10
torque.dsfactory.default.pool.maxExpiryTime=3600
torque.dsfactory.default.pool.connectionWaitTimeout=10

Any response would be highly appreciated. Thank you.

Regards,

Najeem Lawal


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to