You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jv...@apache.org on 2001/07/14 20:03:08 UTC
cvs commit: jakarta-turbine/src/java/org/apache/turbine/services/db/util IDBroker.java
jvanzyl 01/07/14 11:03:08
Modified: src/java/org/apache/turbine/services/db/util IDBroker.java
Log:
- the configuration is not being passed into the IDBroker yet, and
this changes brings the system down. i'll figure out a way to
set the configuration in a decent way.
Revision Changes Path
1.5 +4 -7 jakarta-turbine/src/java/org/apache/turbine/services/db/util/IDBroker.java
Index: IDBroker.java
===================================================================
RCS file: /home/cvs/jakarta-turbine/src/java/org/apache/turbine/services/db/util/IDBroker.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- IDBroker.java 2001/07/13 22:31:53 1.4
+++ IDBroker.java 2001/07/14 18:03:07 1.5
@@ -55,22 +55,18 @@
*/
import java.math.BigDecimal;
-
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.ResultSet;
import java.sql.Statement;
-
import java.util.ArrayList;
import java.util.Date;
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.List;
-
import org.apache.turbine.services.db.om.peer.BasePeer;
import org.apache.turbine.services.db.TurbineDB;
import org.apache.turbine.TurbineException;
-
import org.apache.turbine.services.db.map.DatabaseMap;
import org.apache.turbine.services.db.map.TableMap;
import org.apache.turbine.services.db.pool.DBConnection;
@@ -118,7 +114,7 @@
*
* @author <a href="mailto:frank.kim@clearink.com">Frank Y. Kim</a>
* @author <a href="mailto:john.mcnally@clearink.com">John D. McNally</a>
- * @version $Id: IDBroker.java,v 1.4 2001/07/13 22:31:53 jmcnally Exp $
+ * @version $Id: IDBroker.java,v 1.5 2001/07/14 18:03:07 jvanzyl Exp $
*/
public class IDBroker
implements Runnable, IdGenerator
@@ -210,9 +206,10 @@
public IDBroker(TableMap tMap)
{
this.tableMap = tMap;
-
+
// Start the housekeeper thread only if prefetch has not been disabled
- if (configuration.getBoolean(DB_IDBROKER_PREFETCH, true))
+ //if (configuration.getBoolean(DB_IDBROKER_PREFETCH, true))
+ if (true)
{
houseKeeperThread = new Thread(this);
// Indicate that this is a system thread. JVM will quit only when
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org