Meaningless Drivel is fun!*
The moose likes JDBC and the fly likes A  question about transaction and CRUD operations. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "A  question about transaction and CRUD operations." Watch "A  question about transaction and CRUD operations." New topic
Author

A question about transaction and CRUD operations.

raminaa niilian
Ranch Hand

Joined: Jul 14, 2005
Posts: 550
Hi
Thank you for reading my post.
Imagine that we just have one table to perform CRUD on it and we just have one record to insert, update or delete and multiple record for select.

is there some scenario that we need to have a transactional insert, update, delete or select for this one table?

Thanks
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36514
    
  16
If you are selecting multiple rows and somebody inserts or updates a row simultaneously.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: A question about transaction and CRUD operations.
 
Similar Threads
Identifying use cases
tool to generate sql ?
Reset AUTO INCREMENTS
Designing Table specific DAO
CMT & Transaction Attribute