Angelo Neuschitzer wrote:
>> PreparedStatemet pStmt = con.prepareStatement("INSERT INTO table_a
>> VALUES (...)");
>> for(0 to 93)
>> {
>>    [fill values into pStmt]
>>    if(not last row)
>>    {
>>       pStmt.addBatch();
>>    }
>> }
>> pStmt.executeBatch();
>> pStmt.clearBatch();
AFAIK, this "not last row" logic seems wrong. Calling executeBatch()
only executes those queries that have been added to the batch via
addBatch(), so the loop will lose the last INSERT.
-O