Take you by hand to read the Mybatis Source Execution

Preface As mentioned in the previous article How MyBatis builds configuration classes Yes, I also said that MyBatis is mainly divided into two phases in the running process, the first is building, the second is executing, so this article will take you to see how MyBatis goes from building to executing our first SQL statement.This part of the co ...

Posted by rorobobo on Fri, 21 Feb 2020 19:46:42 -0800

Notes for MappingJackson 2HttpMessageConverter

Handle conversion of Date type fields to timestamps in Databases There are two ways to solve the date conversion Json problem: 1. (Not recommended) Local modification, custom annotation to convert date type to Date type. 2. (strongly recommended) Global modification, configure in XML (Spring MVC) or in Application.Java startup classes (Spring b ...

Posted by bing_crosby on Fri, 21 Feb 2020 08:30:05 -0800

2020.2.21Menu and PopupWindow

menu menus and windows System menu OptionsMenu Code display Effect display Matters needing attention Context menucontextmenu Code display Effect display Matters needing attention Pop-up Menu Code display Effect display PopupWindow window Code display Effect display Matters needing attention ...

Posted by LanHorizon on Fri, 21 Feb 2020 07:15:11 -0800

Day37 -- dynamic sql statement of MyBatis

MyBatis part2 Article directory MyBatis part2 Many to one processing One to many processing Dynamic SQL IF chooose(when,otherwise) trim(where,set) Foreach Before knowing many to one and one to many, the feeling after learning is like learning the joint table query in MySQL statements (there ...

Posted by ocpaul20 on Fri, 21 Feb 2020 05:42:24 -0800

Detailed use of Android official architecture component Navigation

Preface Some time ago, when I was doing project development, I encountered several small problems in Fragment management. I always felt that the encapsulated Fragment manager was not elegant at this stage. This has become the Navigation library that I am determined to learn from Jetpack, which was lau ...

Posted by corruption on Thu, 20 Feb 2020 23:04:06 -0800

How to set space between listView projects in Android

I try to use marginBottom on listView to make room between listView items, but they are still attached together. Is it possible if so, is there a specific way to do it? My code is as follows <LinearLayout android:id="@+id/alarm_occurences" android:layout_width="fill_parent" android:orientation="vertical" android:layout_height="fill ...

Posted by Majes on Thu, 20 Feb 2020 02:29:04 -0800

[note] encapsulate the pit encountered by okhttp + rtofit + rxjava + simplexml

First of all, in the context of this new project, the docking Party's high cold exception, all the requests and returns are in XML format, so I'm very tired. At present, the company doesn't have any well packaged network request package. Thinking of the RXjava used in the past, it just picked it up a ...

Posted by Desertwar on Wed, 19 Feb 2020 23:37:39 -0800

Interaction between Android Studio and Unity -- loading the project exported by Unity into Android Studio

Version information Android Studio: (Android Studio-Help-About) Unity: (Unity-Help-About Unity) Note: Latest version of China Enhanced Edition (time: 2020-02-20) Install Android module 1, Operations in Unity 1. Create a Unity project and prepare a Unity game. Recommended tutorials: Introduction ...

Posted by dprichard on Wed, 19 Feb 2020 22:47:45 -0800

Java Servlet and MVC programming mode

Servlet Servlet is the foundation of JSP (Java Servlet Pages), which is essentially a Java class running on the server side, receiving requests from clients and responding. Tomcat's containers are divided into four levels: Container, Engine, Host and Servlet. The relationship is as follows The s ...

Posted by BoukeBuffel on Wed, 19 Feb 2020 22:40:41 -0800

Asynchronous thread pool usage specification

brief introduction spring The interface class of asynchronous thread pool, whose essence is Java.util.concurrent.Executor Spring has implemented exception thread pool: 1. SimpleAsyncTaskExecutor: it is not a real thread pool. This class does not reuse threads. Each call will create a new thread.   2. SyncTaskExecutor: this class does not ...

Posted by angel1987 on Wed, 19 Feb 2020 20:08:32 -0800