aspose file tools*
The moose likes JDBC and the fly likes differentbetween batchUpdating and transaction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "differentbetween batchUpdating and transaction" Watch "differentbetween batchUpdating and transaction" New topic
Author

differentbetween batchUpdating and transaction

anarkali perera
Ranch Hand

Joined: Sep 10, 2009
Posts: 237
what is the differentbetween batchUpdating and transaction?
both execute the one or more sql statements
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2477
    
    7

Rough explanation:
Batch update: you send a set of updates to the server in group in stead of one by one.

Transaction: a set of queries that logically belong together. The changes are only visible to other users when you commit the transaction. They are all reverted to the situation before the transaction started if you rollback.


OCUP UML fundamental and ITIL foundation
youtube channel
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: differentbetween batchUpdating and transaction
 
Similar Threads
Delete Query problem: Failure to Commit HQL Delete Transaction
Cannot insert values into a table
Transaction Problem
Nested Transaction Model
WA #1.....word association