[mybatis xml] data layer framework application -- one of Mybatis relationship mapping to one

In the actual development, the operation of database often involves multiple tables, which involves the relationship between objects in object-oriented. For multi table operations, MyBatis provides association mapping. Through association mapping, the association relationship between objects can be well handled. Catalog What y ...

Posted by coollog on Mon, 04 May 2020 14:23:40 -0700

TabLayout+ViewPager to realize the dynamic sliding effect of tabs

1. Prerequisite preparation Today, I reviewed the joint use of TabLayout and ViewPager, and wrote a demo to deepen my understanding. First, make sure that TabLayout is under design, not under the original widget of the system. So first, add the following reference to the dependencies closure of build.gradle under app: ...

Posted by hakmir on Mon, 04 May 2020 13:30:46 -0700

How Spring AOP generates proxy objects

The framework is to leave the complex to itself, the simple to coden, as simple as writing hello world When developing Spring AOP programs in the early years, aop was configured with xml files (now xml is not popular, annotation @ EnableAspectJAutoProxy is popular), and then framework parsing, For example: How is this configuration reso ...

Posted by slaeya on Mon, 04 May 2020 09:55:18 -0700

Non rigid face recognition practical

Object oriented design Like face detection and face recognition, face tracking consists of two parts: data and algorithm. The algorithm trains the model by storing (i.e. offline) data in advance, and then performs some operations on the new (i.e. online) data. Therefore, object-oriented design is a good choice. In opencv 2.x version, it is conv ...

Posted by intodesi on Mon, 04 May 2020 06:40:03 -0700

Nginx optimizes static file access

brief introduction The static files needed in web development are: CSS, JS, font and picture, which can be accessed through web framework, but the efficiency is not optimal. Nginx is much more efficient than Web framework in processing static files, because it can use gzip compression protocol to reduce the volume of static files, speed up th ...

Posted by cent on Mon, 04 May 2020 04:54:50 -0700

Kettle database configuration extraction

When using the ETL tool Kettle, in order to make the job or transformation universal, sometimes we need to separate the connection configuration of the database from the script or transformation. Here is a scheme, which mainly involves the following files: # By default, these two files are in the user directory of the system. If you configure t ...

Posted by watson516 on Mon, 04 May 2020 00:04:15 -0700

A tutorial of using JAX-RS client WebClient

JAX-RS client programming – > There are two ways: ① Using the http client tool, we need to customize and parse the HTTP protocol ② This article focuses on the use of WebClient tool class (Brought by CXF) to explain RS client programming. Using RS WebClient requires importing coordinates in pom.xml file & ...

Posted by vineld on Sun, 03 May 2020 21:16:32 -0700

NSIS tutorial (9): NSIS+duilib QQ like installation package

In this paper NSIS tutorial (8): installation package interface based on third-party interface library On the basis of this, share the process of how to use NSIS in combination with duilib high imitation QQ installation package. Let's start with the renderings! Full NSIS script # ======================Custom macro================== ...

Posted by DataRater on Sun, 03 May 2020 17:44:29 -0700

Analysis of common parameters of execution plan

1,ANALYZE Actually execute the actual SQL, and see the time of each step of the execution plan 2,VERBOSE Additional information for explicit planning, additional information: columns output by each node in the planning tree. The trigger being fired also displays the name of the initiator. The default is FALSE. 3,COS ...

Posted by chard on Sun, 03 May 2020 14:52:16 -0700

Using mybatis to dynamically load external sql

background I don't know if there is such a puzzle in your company. Many departments often ask your department to provide interfaces to query some data. The interface basically has no business logic. An SQL is enough, but it takes time and effort to develop an interface for this SQL. Many people also want to solve it. For example, they often wri ...

Posted by snake310 on Sun, 03 May 2020 14:14:16 -0700