1. Transaction control in spring
Spring's transaction control can be divided into programmatic transaction control and declarative transaction control.
Developers directly couple the transaction code and business code, which is not needed in actual development.
Developers use configuration to ...
Posted by drayarms on Wed, 09 Mar 2022 08:58:05 +0100
1, Introduction to xpath
xpath is an XML path language, which can be used to determine the location of elements in XML documents and find elements through element paths. HTML is an implementation of XML, so xpath is a very powerful positioning method.
1. Formula: / / tag name [@ attribute = 'value of attribute']
//*[@ id="kw"] -- r ...
Posted by ctimmer on Tue, 08 Mar 2022 14:04:01 +0100
1, Basic concepts of transaction 1. What is a transaction (1) Transaction is the most basic unit of database operation. Logically, a group of operations either succeed or fail if one fails (2) Typical scenario: bank transfer 2. Transactions have four characteristics (ACID) (1) Atomicity: to succeed, to fail, to fail (2) Consistency: the total a ...
Posted by tillaart36 on Mon, 07 Mar 2022 15:11:29 +0100
Master the creation method of content providers and be able to create content providers independentlyMaster the steps of using content providers to access other applications, and be able to read the mobile phone address bookMaster the use of content observers, and be able to use content observers to observe the data changes of other ...
Posted by pspeakman on Sat, 05 Mar 2022 06:06:20 +0100
9.1. MyBatis cache understanding
Like most persistence layer frameworks, MyBatis also provides L1 and L2 cache support
1. L1 cache: be based on PerpetualCache of HashMap Local cache with storage scope of Session，When Session
flush or close After that, the Session All in Cache It will be empty.
2. The mechanism of L2 cache is ...
Posted by onicsoft on Wed, 02 Mar 2022 16:52:25 +0100
1, Use of Dom4j
1. Introduction to XML parsing
There are two common XML parsing methods in daily development
DOM: the parser is required to load the entire XML file into memory and generate a Document object. Advantages: the structure and relationship between elements are preserved, and you can add, delete, check and modify elements. Dis ...
Posted by flumpy on Mon, 28 Feb 2022 08:50:59 +0100
The content of this column explains again: the whole column is in the field of Hongmeng application development, and each article is a complete project.This column does not cover the basic course of HarmonyOS application development. There are many high-quality articles on CSDN for reference.This project is the implementation of th ...
Posted by cl_stef on Sun, 27 Feb 2022 15:30:59 +0100
Types of animation Android animation can be roughly divided into the following three types: Draw animation View animation Property animation Generally speaking, attribute animation is the preferred method because it is more flexible and provides more functions. View animation and frame by frame animation seem to withdraw from the stage of histo ...
Posted by silviuchingaru on Sat, 26 Feb 2022 10:26:46 +0100
The following is the initialization loading of IOC container based on Xml. Please refer to the previous article for the positioning of the container Initialization of IOC container based on Xml (I) positioning
The spring IOC container loads Bean configuration resources from the refresh () function. Refresh () is a template method tha ...
Posted by seavers on Fri, 25 Feb 2022 15:45:14 +0100
1, About servlet s
Explain servlet in detail, https://www.runoob.com/servlet/servlet-tutorial.htmlOverview:
Servlet and servlet container
Java Servlet (Java Server applet) is a Web component based on Java technology. It runs on the server side. It is managed by the servlet container and used to generate dynamic content. Servlet is a platform ...
Posted by feldon23 on Thu, 24 Feb 2022 12:19:10 +0100