Java
-
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 …… -
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…… -
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…… -
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…… -
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 …… -
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 …… -
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…… -
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 …… -
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. …… -
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…… -
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…… -
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…… -
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…… -
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 …… -
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 …… -
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…… -
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…… -
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…… -
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…… -
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…… -
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…… -
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 …… -
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…… -
Java socket simple chat tool
This example shares a simple socket chat tool for you. I hope you like it. The code runs as shown in the figure, which…… -
Config configuration tutorial for getting started with spring cloud
preface This article mainly shares with you the introductory tutorial on spring cloud, which mainly introduces the rel…… -
Java development naming specification summary
Precautions before use: 1. Due to the characteristics of java object-oriented programming, nouns should be selected as…… -
Explain the implementation principle of spring retry in detail
In the previous blog, I introduced the use of spring retry. This article demonstrates the implementation principle of …… -
Java Web project front end specification (deep decoupling of JS with namespace)
An excellent code architecture is not only easy to develop and maintain, but also an art of management and execution. …… -
Detailed explanation of spring boot configuration file (summary)
Spring boot provides two common configuration files: properties file and YML file. Their role is to modify the default…… -
10 skills you should master as a java programmer
This article lists in detail the 10 skills that a java programmer should master. Share with you for your reference. Th…… -
Java uses regular expressions to determine mobile phone numbers
This article describes how Java uses regular expressions to judge mobile phone numbers. Share with you for your refere…… -
A simple online chat function based on java socket (I)
Recently, I did a project, in which there was a demand for online web page communication. I haven't written code for a……
