This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 3816

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

Check how the Transactions in JDBC work.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC update table
 
Similar Threads
How Multiple Inheritance can be achieved in Java ?
Is Fowarder-receiver promiscuous?
How much package to expect?
JScrollBar Not Moving ViewPort
MQ meesages commit issue