Recent Posts
-
How to write the map parameter of the list array passed in by mybatis
Foreach is mainly used to build in conditions. It can iterate a set in SQL statements. The attributes of foreach eleme…… -
Spring boot integrates Druid database connection pool
1. Preface Druid database connection pool is open source by Alibaba. It is known as the best database connection pool …… -
Solution to list and stream de duplication in Java
problem At present, the Internet technology is mature, and more and more tend to be decentralized, distributed and str…… -
Java gets all key value pair instances in JSON
As follows: The above example of Java obtaining all key value pairs in JSON is all the content shared by Xiaobian. I h…… -
Complete example tutorial of spring MVC + fastjason + Hibernate validator integration
1: Hibernate validator Foundation 1. Introduction: By using annotation annotations to impose constraints on classes o…… -
Redis introduction and usage scenario explanation
This article mainly introduces the introduction and usage scenarios of redis. Xiaobian thinks it's very good. Now I'll…… -
Spring boot uses Druid for dimension statistics and monitoring
Druid Druid: a database connection pool framework for monitoring. The whole project is composed of database connection…… -
How to use Java array correctly in instance parsing
1、 On the characteristics of arrays 1 In Java, whether you use arrays or collections, there are boundary checks. If t…… -
Configuration method of specifying output file location based on Web Project Log
First, we define a webapprootkey that can dynamically find the path of the project at runtime. The reason for this is …… -
On the difference between # and $in mybatis and the methods to prevent SQL injection
The difference between # and $in mybatis 1. # treat the incoming data as a string, and add a double quotation mark to …… -
The spring boot + thymeleaf backend directly assigns values to the onclick function
This is the return from the controller page JS The above is the implementation code of spring boot + thymeleaf backend…… -
Spring boot uses druid and monitoring configuration methods
The default data source of spring boot is: org apache. tomcat. jdbc. pool. DataSource Druid is the best database conne…… -
How to use MySQL for Java Web Learning in the project
preface Awkward: access denied for user 'root' @'localhost 'using password yes Sometimes, when connecting to MySQL dat…… -
Explain in detail how to use spring security to solve CSRF problems
CSRF introduction CSRF (Cross Site Request Forgery), Chinese Name: Cross Site Request Forgery, also known as one click…… -
Usage of mybatis passing multiple parameters for SQL query
PS: there are two ways to pass multiple parameters in ibatis3: one is to use Java Map, the other is to use JavaBeans. …… -
Mybatis dynamically inserts the instance code of the list parameter passed in
The example code of mybatis dynamically inserting a list is as follows: The example code of the list parameter passed …… -
Java custom log output file (log4j log file outputs multiple custom log files)
Log4j outputs multiple custom log files. If you need to output independent log files in practical application, how can…… -
Understanding of hibernate and mybatis in Java Web learning tutorial
preface In Java Web development, the most classic is the SSH framework combination and SSM framework combination. Now …… -
How to use onetomany in Java
Write at the beginning Onetomany declared using jhipster has no mapping relationship with many's dto in one's dto. In …… -
Implementation of ordered array merging algorithm for merging algorithm
Implementation of ordered array merging algorithm for merging algorithm A simple ordered array merging algorithm: writ…… -
Rxjava + retro fit + MVP realize shopping cart function
This example shares the specific code of rxjava retro to realize the shopping cart for your reference. The specific co…… -
Solutions for mybatis to pass multiple parameters (three)
The editor will share three solutions to the problem of mybatis passing multiple parameters. The details are as follow…… -
Summary of four methods of passing multiple parameters in mybatis
preface Now most projects use mybatis, but some companies use hibernate. The biggest feature of using mybatis is that …… -
Spring boot using Druid
Druid is the best database connection pool in the Java language and can provide powerful monitoring and extension func…… -
The instance code of the mybatis pass in parameter
The parametertype attribute is mentioned in the select, insert, update and delete elements of mybatis. The parameterty…… -
Using and configuring Druid with spring boot
1. Import dependent packages 2. Configure application properties 3. At present, the default supported connection pools…… -
Understanding and testing of functional interface based on Java 8
1. Understanding of functional interfaces According to the idea of refactoring, modules that are easy to change need t…… -
The list object list in Java implements the method of de duplication or retrieval and sorting
preface Because I have encountered several list de duplication and sorting during the interview, I feel it necessary t…… -
Complete example tutorial of spring MVC + fastjason + swagger integration
Basic part 1. Introduction to fastjason Fastjson is a Java library that can be used to convert Java objects into JSON …… -
Detailed explanation of mybatis method to prevent SQL injection
SQL injection is a very simple attack, but it is still very common today. The reason is no patch for stupid. Why? Let'…… -
Parsing the method of mybatis continuously passing multiple parameters
Mybatis is an excellent persistence layer framework that supports common SQL queries, stored procedures and advanced m…… -
Spring boot cross domain access implementation code
The current version of spring is 4.3 nine PS: spring boot server side settings allow cross domain access Updated on Ap……