Method for integrating native transaction and logical transaction
A transaction and logic technology, applied in the field of cloud computing, can solve the problems of logical transactions having no practical use, unclear requirements, blocking, etc., to achieve the effect of easy promotion, strong practicability, and deadlock resolution
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0031] Embodiment: The following content is the data access of an instance of this method, and this instance applies transaction nesting.
[0032] Its specific implementation process is:
[0033] 1. Define the external transaction execution mode and transaction boundary type, and create logical transactions.
[0034] var ltrans = new GSPTransactionScope(GSPTransactionScopeOption, ScopeType.
[0035] 2. Perform data operations, create database instance objects, store the Sql statements to be executed, function SessionIDs, and database object names in thread-safe collections, see the following code:
[0036] using (var db = GSPDatabaseFactory. GetDataBase())
[0037] {
[0038] db. ExecSqlStatement(sql);
[0039] }
[0040] public override int ExecSqlStatement(string sqlStatement)
[0041] {
[0042] CheckForNullReference(sqlStatement, "sqlStatement");
[0043] int result = 0;
[0044] ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com