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

JDBC update table

david wangwang
Greenhorn

Joined: Jan 02, 2007
Posts: 9
How can I make sure a set of related updates are committed successfully? Thanks,
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3859

Trancactions make sure the data is either completely commited or not.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
david wangwang
Greenhorn

Joined: Jan 02, 2007
Posts: 9
Vijitha Kumara wrote:Trancactions make sure the data is either completely commited or not.


How do you check it from code? would you describe a little specify? Thanks.
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3859

Check how the Transactions in JDBC work.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC update table