jQuery in Action, 3rd edition
The moose likes JDBC and Relational Databases 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 and Relational Databases
Bookmark "differentbetween batchUpdating and transaction" Watch "differentbetween batchUpdating and transaction" New topic

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

Joined: Dec 20, 2006
Posts: 2549

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
I agree. Here's the link: http://aspose.com/file-tools
subject: differentbetween batchUpdating and transaction
It's not a secret anymore!