MyBatis uses reverse engineering to automatically generate the entity layer and dao layer of the project

1, Foreword I wrote an article about MyBatis Click the link to enter the basic CRUD of low version comparison However, it is not necessary to write dao layer and entity layer code in actual development, mainly using the shelf package provided by MyBatis Here is the whole process of using reverse engineering 2, Demo and code ① Create a ja ...

Posted on Fri, 01 May 2020 00:14:19 -0700 by geetakhurana

A encapsulated countdown control

This time, it brings a countdown control named TimingTextView, which still has only one file. Copy and paste are available. If you don't say much, you can say it TimingTextView.java: public class TimingTextView extends TextView { private static final int TIME_START = 0x001; private static final int TIME_FINISH = 0x002; private ...

Posted on Thu, 30 Apr 2020 14:53:16 -0700 by cdinca

DrawerLayout+NavigationView main interface of imitating Moby bike

In the past, SlidingMenu was usually used, but there were too many properties to set, which made it cumbersome to use. Later, the official DrawerLayout came out, which made the sideslip control positive, and the function effect was better. Here is the main interface that I use DrawerLayout+NavigationView to imitate Moby bike. visual effect: ...

Posted on Thu, 30 Apr 2020 12:14:29 -0700 by Eclesiastes

A sliding scoring control

This time it brings a sliding scoring control. When doing the scoring function, you often need a control to drag a finger to score. In fact, this kind of control has a lot of 100 degrees. I wrote one a long time ago, and I'll share it with you here. The control is named SlideToGradeLayout. There is only one file. Copy and paste are available ...

Posted on Thu, 30 Apr 2020 09:52:15 -0700 by fross

Spring boot configuration log4j2 climbing pit

Version Springboot 2.11.1 logging.config parameter logging.config configuration is valid in application.yml, and the specified path is valid log4j2 log4j2 official website supports multiple automatic configuration modes, automatic scanning: System properties (log4j. Configuration) - > in classpath (log4j2 test. Properties)->In classpath ( ...

Posted on Tue, 28 Apr 2020 19:35:37 -0700 by mospeed

Detailed steps for Hadoop installation

Write before If you want to successfully build a Hadoop cluster locally through this blog, you need to follow the video course first Three-day Starter Big Data Practice Course Build a local cluster environment. The chapters you need to learn in this video lesson are: Course objectives VMWare WorkStation Installation Create Virtual Machine Ins ...

Posted on Tue, 28 Apr 2020 10:28:10 -0700 by Twentyoneth

Android project practice series - registration and login module based on erudite Valley

As this module has a lot of content and a long space, please read it patiently. Registration and login module is divided into three parts [x] Welcome screen [x] Registration interface [x] Login interface 1, Welcome screen 1. Create a project named BoXueGu, and the package name is com.boxuegu. 2. Import the interface picture, Lun bg.p ...

Posted on Sun, 26 Apr 2020 17:58:34 -0700 by jdorma0

[MyBatis in depth analysis] Application Analysis and best practice

MyBatis programming development MyBatis programming development steps MyBatis and MySQL Jar package dependency Global configuration file mybatis-config.xml Mapper.xml Mapper interface Programming pseudocode @Test public void show() { SqlSession session = null; try { String resource = "mybatis-config.xml"; ...

Posted on Sun, 26 Apr 2020 03:55:02 -0700 by ragy

Servlet container and Web application

Wrong understanding of starting sequence There has been a point before that the application runs in the Servlet container, because from the perspective of the usage of Servlet container and Web application, it really has this feeling. We start the Servlet container every time, and then start our application. For example, if the Web application ...

Posted on Sun, 26 Apr 2020 02:10:55 -0700 by plautzer

Mybatis source detailed series -- mybatis usage and details you don't know

brief introduction This is Mybatis In the fourth part of the blog series, I intended to explain the configuration, mapper and dynamic sql of mybatis in detail, but Official Chinese document of Mybatis The introduction of this part has been detailed enough, which can be referred to directly if necessary. So, I'll extend some other features or u ...

Posted on Sat, 25 Apr 2020 21:58:23 -0700 by alsal