File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Spring in Action this week in the Spring forum!
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: 3837

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: 3837

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