File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Mongo DB Applied Patterns
this week in the
or a resume review from
Five Year Itch
JDBC batch statement
Joined: Oct 02, 2002
Oct 26, 2006 00:12:00
Is there any upper limit to the batch statement size that we use in
? Can we set the batch statement size to as high as 100/200 ?
Or is it dependent on the driver/RDBMS combination that we use ?
Joined: Oct 23, 2005
Oct 26, 2006 00:55:00
100/200 doesn't seem particular high to me. I believe most of the way batch actually works is database driver dependent. For example, the driver could ignore the limit and send the data sooner.
Down Home Country Coding with Scott Selikoff
I agree. Here's the link:
subject: JDBC batch statement
read large CSV file and update the database
JDBC, Create Stored Procedure, delimiters
Taking an argument from a file into SQL prep statement
transaction size and commit
Why Batch Update Support Only One Single PreparedStatement
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013