• Post Reply Bookmark Topic Watch Topic
  • New Topic

JDBC update table  RSS feed

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I make sure a set of related updates are committed successfully? Thanks,
 
Bartender
Posts: 4013
42
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Trancactions make sure the data is either completely commited or not.
 
david wangwang
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 4013
42
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check how the Transactions in JDBC work.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!