包含标签:Java 的文章
-
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 …… -
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 …… -
Java convolutional neural network (Introduction to cupcnn)
preface In machine learning, convolutional neural network is a deep feedforward artificial neural network, which has b…… -
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…… -
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 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…… -
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 …… -
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…… -
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. …… -
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'…… -
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…… -
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 …… -
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…… -
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…… -
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…… -
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 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…… -
Using and configuring Druid with spring boot
1. Import dependent packages 2. Configure application properties 3. At present, the default supported connection pools…… -
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 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…… -
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 …… -
Spring boot using Druid
Druid is the best database connection pool in the Java language and can provide powerful monitoring and extension func…… -
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…… -
Advanced specification of Java programming format
As a developer, we should have strict code specifications. To this end, I summarized some code specification cases. ca…… -
Detailed explanation of spring boot static variable injection configuration file
This example shares the specific code of spring boot static variable injection configuration file for your reference. …… -
Detailed explanation of string splicing examples in jdk8
preface Among Java developers, string splicing takes up a lot of resources, which is often a hot topic Let's discuss i…… -
Java code annotation specification (power node sorting)
Code annotation is a communication bridge between program designers and program readers to maximize the efficiency of …… -
Detailed explanation of spring cloud retry mechanism configuration
First of all, the retry here is not the retry after an error is reported, but the load balancing client tries other in…… -
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…… -
Sample code of spring boot integrating spring security
This article describes the integration of spring boot and spring security, using annotations to realize permission con…… -
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…… -
How to build a stream example in Java 8
Stream first experience Stream is an important feature of operation set in Java 8. Let's take a look at how stream is ……