Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-12-2009, 08:01 AM
Member
 
Join Date: Mar 2009
Posts: 35
Rep Power: 0
swati.jyoti is on a distinguished road
Default batch updated
Pls tell me the following-:
1. what is batch update in Sql.
2. Advantage of using it.
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 05-12-2009, 08:44 AM
RamyaSivakanth's Avatar
Senior Member
 
Join Date: Apr 2009
Location: Chennai
Posts: 589
Rep Power: 1
RamyaSivakanth is on a distinguished road
Default
If you want to perform bunch of updates/insert at once ,then we can go for batch.
The entire bunch can be bundled into a single transaction so that entire unit can be commited/rolledback.

The batch updates are being supported by JDBC2.0.
__________________
Ramya
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 06-10-2009, 12:33 AM
Member
 
Join Date: Sep 2008
Posts: 16
Rep Power: 0
venkatallu is on a distinguished road
Default
Hi swathi
batchUpdate() is for executing more than one query at a time.
Adavatange is,for every sql query u need not send to DB server.
There no n/w traffic b/w client and DB server.So performance wil increase.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
DefaultListModel being updated in another class (by reference?) rickyoswald Advanced Java 3 04-24-2009 07:28 PM
why my image is not updated ? aneuryzma New To Java 4 08-15-2008 01:08 AM
Number of updated records Java Tip Java Tips 0 01-21-2008 05:32 PM
[SOLVED] Updated Forum Rules levent Suggestions & Feedback 1 08-12-2007 02:09 PM
JTextArea that I would like to have updated as strings are appended paul AWT / Swing 1 08-07-2007 06:13 AM


All times are GMT +2. The time now is 03:38 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org