# TORQUE PROPERTIES torque.database.default = aatravel_db1 torque.database.aatravel_db1.adapter = mysql #Using commons-dbcp torque.dsfactory.aatravel_db1.factory = org.apache.torque.dsfactory.SharedPoolDataSourceFactory torque.dsfactory.aatravel_db1.connection.driver = org.gjt.mm.mysql.Driver torque.dsfactory.aatravel_db1.connection.url = jdbc:mysql://213.133.106.104:3306/aatravel_db1 torque.dsfactory.aatravel_db1.connection.user = aatravel_1 torque.dsfactory.aatravel_db1.connection.password = i7tigi7g # Time to wait for a connection to the database in milliseconds. torque.defaults.pool.maxWait = 10000 torque.defaults.pool.maxIdle = 8 torque.defaults.pool.maxActive = 15 torque.defaults.pool.testOnBorrow=true torque.defaults.pool.validationQuery=SELECT 1 # How often the pool is checked for connection which stayed in the pool # for too long. Defaults to 5 minutes (5 * 60 * 1000) # remove property if the idle object evictor should not be run torque.defaults.pool.timeBetweenEvictionRunsMillis= 300000 # Lifetime of an idle connection in the pool in milliseconds. # Defaults to one hour (1000 * 60 * 60) torque.defaults.pool.minEvictableIdleTimeMillis = 3600000 # Determines whether the managers cache instances of the business objects. # And also whether the MethodResultCache will really cache results. torque.manager.useCache = true