What is savepoint?
Use
The SAVEPOINT statement to identify a point in a transaction to which you can
Later roll back.
For example:
SQL> SELECT * FROM SCOTT. DEPT;
DEPTNODNAME LOC---------------------------------10ACCOUNTING NEW YORK20 RESEARCH
The JDBC API provides the Setautocommit () method through which we can disable autocommit database connections. Autocommit should be disabled because only such transactions are not automatically committed unless the connection's commit () method is
The savepoint (savepoint) is a flag in the transaction process that is used in conjunction with the rollback command (ROLLBACK), and the main purpose is to allow a user to roll back a section of processing without having to roll back the entire
The new JDBC3.0 save Point Interface provides additional transaction control. Most modern DBMS in their environment, such as Oracle's Pl/sql, support SavePoint.
Defines a logical rollback point in a transaction when a save point is set. If an error
For nested transactions.1. External transactions, internal transactions, inside and outside have try CatchInternal error: If an internal transaction goes wrong, both internal and external things are rolled back, the operation before the external
Comprehensive analysis of Spring's programmatic transaction management and declarative transaction managementBefore you start about this tutorialThis tutorial will delve into Spring's simple and powerful transaction management capabilities,
server| Transaction Processing
Transaction definition:
A transaction is a single unit of work. If a transaction succeeds, all data changes made in that transaction are
commit to become a permanent part of the database. If the transaction encounters
Transaction definition:A transaction is a single unit of work. If a transaction succeeds, all data changes made in the transaction areCommits and becomes a permanent part of the database. If the transaction encounters an error and must be canceled
This tutorial will delve into Spring's simple and powerful transaction management capabilities, including programmatic and declarative transactions. By learning this tutorial, you will be able to understand the nature of Spring transaction
BEGIN TRANSACTIONMarks the starting point for an explicit local transaction. BEGIN TRANSACTION The @ @TRANCOUNT by 1 increments.BEGIN TRANSACTION represents a point where data referenced by a connection is logically and physically consistent at that
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.