struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: executeBatch
Date Mon, 26 Jul 2004 04:41:19 GMT

Did you experiment breaking the batch to 2-3 packs? (500-800 in one go).

- regards


-----Original Message-----
From: Shailender Jain []
Sent: Monday, July 26, 2004 10:07 AM
Subject: executeBatch


I want to insert some 3000 records in the database.

I  tried using executeBatch()  to insert all the records at a go.
But the application gets hang and nothing happens.

When i try using PreparedStatement then it does work and just takes some
30 seconds.
I am using Informix as the database and the DriverClass in ifxjdbc.jar.
I checked the specification of the driver
and it promises to be jdbc2.0  compliant.

Any idea on how to improve the performance?

Shailender Jain

To unsubscribe, e-mail:
For additional commands, e-mail:

Confidentiality Notice

The information contained in this electronic message and any attachments to this message are
for the exclusive use of the addressee(s) and may contain confidential or privileged information.
you are not the intended recipient, please notify the sender at Wipro or
and destroy all copies of this message and any attachments.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message