Things isolation levels and things propagation properties

Source: Internet
Author: User
things Isolation Level The thing isolation level is to resolve dirty reads, Phantom reads, non-repeatable reads Dirty Read: Data that has not been determined to be committed is read by other things Phantom Reading: The data on the select point of Time is different from the actual situation, which will add data non-repeatable read: The same data is read by multiple things at the same time, multiple things can be simultaneously modified the same data, resulting in inconsistent data. Serialization of SERIALIZABLEThe highest level of things isolation levels things are executed in order: resolved Dirty Read, Phantom Read, non-repeatable read REPEATABLE Read repeatable readsThe data will not be modified while the Select is in progress, but the data can be added to solve the Dirty Read, non-repeatable read, there will be Phantom Reading Read commited reading commitThe thing is released immediately after reading the data. Read Lock, causing other things to modify this data. Solve Dirty Read, there will be Phantom Read, non-repeatable read read uncommited not submittedData can be read by other things when not committed Dirty Read, Phantom Read, non-repeatable read Things Propagate Properties REQUIRED

A transaction already exists, the transaction is joined, or a new transaction is created.
Spring default propagation behavior requires_new creates new things, suspends this thing if there is already a thing, SUPPORTS If there exists a thing and then joins it, otherwise runs in the Nothing mode Not_supported runs in a nothing mode, if there is something to suspend the thing MANDATORY force the use of things, there is no thing to throw an exception NESTED The current existence of transactions, The method is run in a nested transaction. A nested transaction can be committed and rolled back separately from the current transaction. If there is no transaction, create a new transaction never run in a nothing environment, or throw an exception if something is present

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.