Spring Series Tutorial 8: Two ways Spring implements transactions

1. Spring Transaction Concepts: Transactions are a series of actions that, when combined, are a complete unit of work. They must all be completed. If one fails, the transaction rolls back to its original state as if nothing had happened. Transaction management is an essential technology for enterprise application development to ensure data in ...

Added by freejellyfish on Sat, 25 May 2019 21:14:34 +0300

Analysis of Mybatis Series 10-SQL Execution Flow (Source Code)

Note: This article is reproduced from Nan Ke Meng Recently, I have been too busy to update my blog. Today, I am busy to continue my Mybatis study tour. In the first nine chapters, the configuration and use of mybatis are introduced. Then this chapter will go into the source code of mybatis and analyze the execution process of mybatis. SqlSessio ...

Added by dicky18 on Sat, 25 May 2019 01:18:48 +0300

Summary of 13 Drawable s in Android

Preface to this section Before I talk about this section, I will talk about the layout of Drawable xml. Why should I talk about this first? Because I found that this is used in many of the layout of Ui in the following explanation, for fear that you will not understand it, so today we will talk about Drawable's knowledge points first. Android o ...

Added by XaeroDegreaz on Sat, 25 May 2019 00:33:59 +0300

Dane Course - String Correlation Method (Part I)

charAt(int index) Function: Gets a single character at the specified subscript position s = "abc"; char c = charAt(2); toUpperCase() Capitalize a string and assign it to a variable s = s.toUpperCase(); print(s); toLowerCase() Lowercase the string and assign it to a variable length() length compareTo(String anotherString) C ...

Added by dominicd on Fri, 24 May 2019 22:54:12 +0300

31 storm Word Count

Previous A brief look at storm , mainly briefly explained the cluster architecture, core concepts, parallelism, stream grouping of storm. This article uses storm combined with code to count words, and explains how to understand introductory storm from the code level. Open code directly Word count simple implementation logic: Construct a Spout ...

Added by saeed42 on Fri, 24 May 2019 19:38:14 +0300

Section 64 of Android Zero Foundation Introduction: Unveiling the True Face of Recycler View Lushan Mountain

Do you remember that you used to learn ListView from Issue 38 to Issue 50, among which you used 8 to talk about the use of ListView, I believe you have mastered it. So let's learn about a new list component in Android 5.X, which is the use of RecyclerView.     I. Overview of Recycler View   From the previous study, we know that ListView ...

Added by storyboo on Fri, 24 May 2019 02:38:10 +0300

Kotlin - > Scope Selection Progress Bar, Two-way SeekBar

First of all, look at the trilogy of custom View. 1:onMeasure method The main purpose of this method is based on xml android:layout_width="wrap_content" android:layout_height="wrap_content" The wrap_content match_parent attributes determine the size of the measurement itself. Of course, these two values, just parent tells you, n ...

Added by tskweb on Fri, 24 May 2019 02:29:22 +0300

Enterprise Project - Page Trace Processing

In the enterprise, we often analyze the users who use our system, such as: what pages he likes to browse the system, that is, the frequency of browsing, and what functions he uses most. We need to do page marking! In the company confidentiality agreement, I do not map. I can only record some thorny problems I encountered in writing this functio ...

Added by nicelad_uk on Fri, 24 May 2019 01:31:42 +0300

How to get absolute path basePath from freemarker page

Source: https://segmentfault.com/a/1190000002967105 Traditional Relative Path Approach 1. freemarker acquisition system relative path mode Configuration in spring-mvc.xml <!-- FreeMarker View parsing such as return userinfo. . Configure the suffix name here ftl And view parser. --> <bean id="viewResolverFtl" class="org.springfr ...

Added by mjr on Thu, 23 May 2019 23:39:05 +0300

A Brief Introduction to Hibernate and Examples of Getting Started

A Brief Introduction to Hibernate   In summary, Hibernate is a lightweight persistence framework for ORM that addresses the mismatch between tables in object and relational databases (impedance mismatch) and the advantage that development code does not inherit hibernate classes or interfaces (non-intrusive).The implementation of the Hibernate ...

Added by tony.j.jackson@o2.co.uk on Thu, 23 May 2019 19:42:20 +0300