db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marian Schuba <mar...@schuba.de>
Subject IDBroker
Date Wed, 22 Dec 2004 22:12:45 GMT
the last version (3.1) of id broker ignores the value of 
torque.idbroker.cleverquantity :(
my patch is suggestion is simple. change in the method:
    public synchronized BigDecimal[] getNextIds(String tableName,
                                                int numOfIdsToReturn,
                                                Connection connection)
        throws Exception ...

the line (number 448):
            storeIDs(tableName, true, connection);
to:
            storeIDs(tableName, 
configuration.getBoolean(DB_IDBROKER_CLEVERQUANTITY, true), connection);

regards
marian


---------------------------------------------------------------------
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