MyBatis configuring dynamic SQL statements

MyBatis configuring dynamic SQL statements In the SQL mapping file of MyBatis, sometimes you need to select different SQL statements according to some query conditions. If you rewrite SQL in every scenario, it's obvious that the efficiency is not very high, and the dynamic SQL of MyBatis solves this problem well. The dynamic SQL of MyBatis pro ...

Added by mpf on Thu, 06 Feb 2020 12:37:02 +0200

Spring MVC requests data conversion through HttpMessageConverter

Java Web people often design restful APIs( How to design a RESTful API ), interact with json data. So how can the json data passed in from the front-end be parsed into Java objects as API input parameters, and how can the API return result parse the Java objects into json format data and return them ...

Added by figuringout on Wed, 05 Feb 2020 12:19:05 +0200

Binder basic use

In Android development, Binder is a way of cross process communication, and using AIDL can realize Binder's work. How to use it is the first step to understand it. This article mainly records some steps of using Binder. (refer to "Android development art exploration" by Ren Yugang for code ideas) 1. Create two activities Two activitie ...

Added by steveryan on Wed, 05 Feb 2020 11:00:15 +0200

[Spring] execution order of AOP in Spring

The execution order of the pointcuts of different annotations in the slice is: preprocessing, postprocessing, return processing / exception processing, which is well understood. However, if multiple tangent classes are defined and there are the same processing steps in them, if the processing order is n ...

Added by babyrocky1 on Wed, 05 Feb 2020 07:56:56 +0200

Using Spring in common WEB projects

Spring is an object container to help us manage the objects in the project. Which objects in the web project should be managed by spring? Objects involved in the project Let's review the objects involved in the WEB project Servlet Request Response Session Service DAO POJO Analysis When we learn IOC containers, we know that Spring can help us ...

Added by theoph on Tue, 04 Feb 2020 08:17:18 +0200

Android Studio error message summary

Today, I met a simple error message prompt, which is recorded as follows for future search: Error message 1: 2020-02-02 13:27:48.472 20534-20534/com.example.helloworld1 E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.helloworld1, PID: 20534 android.content.ActivityNotFoundException: ...

Added by pythian on Sun, 02 Feb 2020 20:34:20 +0200

Search engine Solr from entry to actual combat

1.Solr installation and configuration 1.1 introduction to Solr Most search engine applications must have some kind of search function. The problem is that the search function is often a huge resource consumption and they drag down the performance of your application due to heavy database loading. Th ...

Added by banjax on Sun, 02 Feb 2020 18:06:59 +0200

Getting started with MyBatis to customize the MyBatis framework

First MyBatis program (XML configuration) In the previous article, I briefly summarized some limitations of native JDBC, and introduced the MyBatis framework. I sorted out how to build the working environment of MyBatis in detail In this article, we start our first routine on the basis of setting up ...

Added by Talguy on Sun, 02 Feb 2020 12:00:51 +0200

spring+springmvc+mybatis (ssm) integration

layout: post author: zjhChester header-img: img/post-bg-os-metro.jpg catalog: true tags: - ssm integration spring+springmvc+mybatis (ssm) integration 1. Preliminary preparation 1. Build maven project, check skeleton construction, check web app [external link image transfer failed. The sour ...

Added by devinemke on Sat, 01 Feb 2020 10:44:45 +0200

REST / SOAP endpoint of WCF service

I have one. WCF Service, I want to use it as REST full services and SOAP Service disclosure. Has anyone done such a thing before? #1 building MSDN now seems to have an article: https://msdn.microsoft.com/en-us/library/bb412196(v=vs.110).aspx Introduction: By default, Windows Communica ...

Added by ajlisowski on Sat, 01 Feb 2020 08:02:47 +0200