db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpoes...@apache.org
Subject cvs commit: db-torque/src/conf/master Torque.master
Date Tue, 19 Aug 2003 19:09:44 GMT
mpoeschl    2003/08/19 12:09:44

  Modified:    src/conf Torque.properties
               src/conf/master Torque.master
  Log:
  use SharedPoolDataSourceFactory
  
  Revision  Changes    Path
  1.11      +5 -5      db-torque/src/conf/Torque.properties
  
  Index: Torque.properties
  ===================================================================
  RCS file: /home/cvs/db-torque/src/conf/Torque.properties,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- Torque.properties	18 Aug 2003 15:20:09 -0000	1.10
  +++ Torque.properties	19 Aug 2003 19:09:44 -0000	1.11
  @@ -91,7 +91,7 @@
   
   ## Using torque's old pool
   ## this implementation is deprecated and has some known bugs!!!!
  -## you should use the Jdbc2Pool
  +## you should use commons-dbcp
   #torque.dsfactory.bookstore.factory=org.apache.torque.dsfactory.TorqueDataSourceFactory
   #torque.dsfactory.bookstore.pool.defaultMaxConnections=10
   #torque.dsfactory.bookstore.pool.maxExpiryTime=3600
  @@ -101,9 +101,9 @@
   #torque.dsfactory.bookstore.connection.user = user
   #torque.dsfactory.bookstore.connection.password = password
   
  -## Using Jdbc2Pool
  -torque.dsfactory.bookstore.factory=\
  -  org.apache.torque.dsfactory.Jdbc2PoolDataSourceFactory
  +## Using commons-dbcp 
  +torque.dsfactory.bookstore.factory=org.apache.torque.dsfactory.SharedPoolDataSourceFactory
  +#torque.dsfactory.bookstore.factory=org.apache.torque.dsfactory.PerUserPoolDataSourceFactory
   torque.dsfactory.bookstore.pool.defaultMaxActive=10
   torque.dsfactory.bookstore.pool.testOnBorrow=true
   torque.dsfactory.bookstore.pool.validationQuery=SELECT 1
  
  
  
  1.9       +5 -5      db-torque/src/conf/master/Torque.master
  
  Index: Torque.master
  ===================================================================
  RCS file: /home/cvs/db-torque/src/conf/master/Torque.master,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Torque.master	18 Aug 2003 15:20:09 -0000	1.8
  +++ Torque.master	19 Aug 2003 19:09:44 -0000	1.9
  @@ -91,7 +91,7 @@
   
   ## Using torque's old pool
   ## this implementation is deprecated and has some known bugs!!!!
  -## you should use the Jdbc2Pool
  +## you should use commons-dbcp
   #torque.dsfactory.@DATABASE_DEFAULT@.factory=org.apache.torque.dsfactory.TorqueDataSourceFactory
   #torque.dsfactory.@DATABASE_DEFAULT@.pool.defaultMaxConnections=10
   #torque.dsfactory.@DATABASE_DEFAULT@.pool.maxExpiryTime=3600
  @@ -101,9 +101,9 @@
   #torque.dsfactory.@DATABASE_DEFAULT@.connection.user = @DATABASE_USER@
   #torque.dsfactory.@DATABASE_DEFAULT@.connection.password = @DATABASE_PASSWORD@
   
  -## Using Jdbc2Pool
  -torque.dsfactory.@DATABASE_DEFAULT@.factory=\
  -  org.apache.torque.dsfactory.Jdbc2PoolDataSourceFactory
  +## Using commons-dbcp 
  +torque.dsfactory.@DATABASE_DEFAULT@.factory=org.apache.torque.dsfactory.SharedPoolDataSourceFactory
  +#torque.dsfactory.@DATABASE_DEFAULT@.factory=org.apache.torque.dsfactory.PerUserPoolDataSourceFactory
   torque.dsfactory.@DATABASE_DEFAULT@.pool.defaultMaxActive=10
   torque.dsfactory.@DATABASE_DEFAULT@.pool.testOnBorrow=true
   torque.dsfactory.@DATABASE_DEFAULT@.pool.validationQuery=@VALIDATION_QUERY@
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message