Great it worked. But what does this porperty mean? gernot
>>> [EMAIL PROTECTED] 10/29 12:16 >>> Gernot Musalek wrote: > I am an newby to torque an have a question. > I am using Oracle as database and have been generating the tables with torque > without problem. But when I want to run the application it seems to hang. Here is > the log-file: > [snip] > and the following torque-properties > > torque.database.default=pc05046 > torque.database.pc05046.adapter=oracle > > ## Using torque's old pool > #torque.dsfactory.default.factory=org.apache.torque.dsfactory.TorqueDataSourceFactory > #torque.dsfactory.default.pool.defaultMaxConnections=10 > #torque.dsfactory.default.pool.maxExpiryTime=3600 > #torque.dsfactory.default.pool.connectionWaitTimeout=10 > #torque.dsfactory.default.connection.driver = org.gjt.mm.mysql.Driver > #torque.dsfactory.default.connection.url = jdbc:mysql://localhost:3306/torque > #torque.dsfactory.default.connection.user = user > #torque.dsfactory.default.connection.password = password > > ## Using Jdbc2Pool > torque.dsfactory.pc05046.factory=\ > org.apache.torque.dsfactory.Jdbc2PoolDataSourceFactory > torque.dsfactory.pc05046.pool.defaultMaxActive=10 > torque.dsfactory.pc05046.pool.testOnBorrow=true > torque.dsfactory.pc05046.pool.validationQuery=SELECT 1 change this line to torque.dsfactory.pc05046.pool.validationQuery=SELECT 1 FROM DUAL martin > torque.dsfactory.pc05046.connection.driver = oracle.jdbc.driver.OracleDriver > torque.dsfactory.pc05046.connection.url = jdbc:oracle:thin:@127.0.0.1:1521:pc05046 > torque.dsfactory.pc05046.connection.user = kurse > torque.dsfactory.pc05046.connection.password = kurse > > any idea ?? -- To unsubscribe, e-mail: <mailto:turbine-torque-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:turbine-torque-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:turbine-torque-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:turbine-torque-user-help@;jakarta.apache.org>
