Hi All,
i am using two database
default and alternateDB
So in Torque.getConnection(" <any one db pool name will be geting>")
i am able to view Admin screen both in default and alternateDB
But i am not able to add user in alternateDB.
some where the default name is hardcoded.
if you rename the default to some other, you will be able to view the Admin
Screen but not Add, Edit of any Screen in Admin
can i rename the default name to some othere, will it work if i change?????????
My Torque.properties File
torque.database.default=default
torque.database.default.adapter=oracle
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 = oracle.jdbc.driver.OracleDriver
torque.dsfactory.default.connection.url = jdbc:oracle:thin:@(DESCRIPTION
=(ADDRESS_LIST=(ADDRESS =(PROTOCOL=TCP)(HOST =
172.16.0.111)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ir)))
torque.dsfactory.default.connection.user = bh
torque.dsfactory.default.connection.password = bh
torque.database.alternateDB=alternateDB
torque.database.alternateDB.adapter=oracle
torque.dsfactory.alternateDB.factory=org.apache.torque.dsfactory.TorqueDataSourceFactory
torque.dsfactory.alternateDB.pool.defaultMaxConnections=10
torque.dsfactory.alternateDB.pool.maxExpiryTime=3600
torque.dsfactory.alternateDB.pool.connectionWaitTimeout=10
torque.dsfactory.alternateDB.connection.driver = oracle.jdbc.driver.OracleDriver
torque.dsfactory.alternateDB.connection.url = jdbc:oracle:thin:@(DESCRIPTION
=(ADDRESS_LIST=(ADDRESS =(PROTOCOL=TCP)(HOST =
172.16.0.112)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ir2)))
torque.dsfactory.alternateDB.connection.user = bh2
torque.dsfactory.alternateDB.connection.password = bh2
please help me
Vijay
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]