Simple use of Mybatis framework

1. Configuration process 1. Process diagrams (implemented through XML mapping files): 2. Process: 2.1 Import package: 2.1.1 Download Package Database Driven Package (this article takes MySQL as an example): https://mvnrepository.com/artifact/mysql/mysql-connector-java Mybatis Framework Package: https://mvnrepository.com/artifact/org.myb ...

Posted by VK4KBG on Fri, 10 May 2019 03:06:03 +0200

Reasons for BindingException in SSM with maven Integration

Reasons for generating org.apache.ibatis.binding.BindingException When I was doing SSM integration, I made this mistake: org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): jgsu.clong.mapper.SpuMapper.insert_spu at org.apache.ibatis.binding.MapperMethod$SqlCommand.<init>(MapperMethod.java:18 ...

Posted by vbnullchar on Fri, 10 May 2019 02:16:02 +0200

How to use Online Designer with FastReport.Core Library

Download the latest version of FastReport.Net Many FastReport.Core users are interested in how report generators work in Web applications written using React libraries. In this article, we will introduce how to use an online designer. Although it is displayed in the same Web object as a regular report, it is quite different from what is shown ...

Posted by quetz67 on Thu, 09 May 2019 20:58:02 +0200

AOP Unified Printing Log of SpringBoot 2.X Kotlin Series

In development projects, we often need to print logs, so that developers can understand the interface invocation and locate errors. In many cases, we need to print logs for the entry and exit of Controller or Service, but we do not want to use logger printing in each method repeatedly. At this time, we hope to have a unified manager to print. ...

Posted by baronmask on Thu, 09 May 2019 06:39:05 +0200

[Android] ScrollMenuLayout, a low-intrusion RecyclerView sliding menu control

Suddenly, I want to realize the sliding menu control in RecyclerView by myself. I've read several articles about the gods, including those from ViewGroup, RecyclerView, etc....................... But they don't quite meet my expectations. I hope it's a simple old project that can be used quickly. So after reading a few articles ...

Posted by kof20012 on Wed, 08 May 2019 21:42:03 +0200

Customizing Streaming Layout of ViewGroup Exercises

Customize the ViewGroup, write your own View inherited from the ViewGroup, and then rewrite its onMeasure and onLayout methods. The onMeasure measurement phase consists of three steps Loop call the measure method of the child view, measure the width of the child view and save it Determine your own width and height by the width ...

Posted by koencalliauw on Wed, 08 May 2019 01:25:03 +0200

maven-assembly-plugin plug-in learning in pom files

Source of the article: https://blog.csdn.net/cx1110162/article/details/78647164?locationNum=2&fps=1 I. Use scenarios If the project is a micro-service architecture, the probability of using this plug-in is relatively high. Normally, ordinary projects do not need such an implementation. If a part of the common functionality ...

Posted by phpshift on Tue, 07 May 2019 14:45:04 +0200

Spring Boot Learning Tutorial: Beginning the First Spring Boot Application

This article is originally written by the author. Please indicate the source for reprinting. SummarySpring Boot can easily create independent production-level Spring-based applications. It follows the principle of "convention is greater than configuration", uses the least configuration, and automates everything as much as possible, ma ...

Posted by matthew_ellis24 on Tue, 07 May 2019 08:35:04 +0200

mybatis input mapping and output mapping

1. parameterType (input type) (1) Pass simple types (such as int, which we can use directly) public Student getStudentById(Integer studentId); <select id="getStudentById" parameterType="int" resultType="student"> select * from tblstudent where studentId = #{studentId} </select> (2) Passing pojo objects     p ...

Posted by bogins on Mon, 06 May 2019 22:55:03 +0200

scale Gradient Scaling for Android Basic Animation

Xiaocai recently learned about ViewPager's animation, which I am ashamed to say has not been carefully understood for so long. Today, I intentionally learn about Android's basic animation. Android's basic animations include alpha (transparency) / scale (zooming) / translate (displacement) / rotate (rotation). Learn about scale gradient zooming ...

Posted by s1m0n on Mon, 06 May 2019 08:45:04 +0200