This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes JDBC batch statement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JDBC batch statement" Watch "JDBC batch statement" New topic
Author

JDBC batch statement

Sub swamy
Ranch Hand

Joined: Oct 02, 2002
Posts: 121
Is there any upper limit to the batch statement size that we use in JDBC? 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 ?
Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3740
    
  10

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.


[OCA 8 Book] [Blog]
 
Have you checked out Aspose?
 
subject: JDBC batch statement
 
It's not a secret anymore!