Can't SpringBoot+Mysql save emoj expression?
Especially remember a long time ago, if you want to save emoj expressions in mysql, you need to transcode emoj expressions and save them. Every time you read them, you need to decode and restore them. Every time you do this sb operation, you really feel the heart jam. Is there any way to save them directly?
mysql itself can support emoj express ...
Added by dvd420 on Fri, 13 Dec 2019 06:49:31 +0200
mybatis uses for update to lock data at row level
The usage scenario of for update has been introduced in Spring Date JPA for update. For more information, see the blog: https://blog.csdn.net/zc_ad/article/details/83578487 , we will introduce the usage scenario in mybatis here. Mybatis plus is used. Some basic tutorials have been done before. Address: https://blog.csdn.net/zc_ ...
Added by darktimesrpg on Thu, 12 Dec 2019 18:40:18 +0200
Simulate spring boot to write a tool class nested Tomcat (easy to debug)
In order to debug the SpringMVC code in the Spring source project, using Tomcat plug-in is more convenient, then you need to simulate the function of SpringBoot like yourself: start the Spring application, embedded Tomcat and do a good job of correlation.
Why is it so troublesome??? Because I am a common Java project, the basic web.xml file, I ...
Added by Zallus on Thu, 12 Dec 2019 18:03:17 +0200
SSM + VUE realize simple CRUD
I. project analysis
1, demand
(1) using ssm + vue to implement a crud (database addition, deletion, modification and query).(2) front and back ends are separated, front page display + background management.
2. Technical points
(1) basic framework: SSM (Spring, Spring MVC, Mybatis)(2) database: Mysql(3) front end: UI frame iView + vue(4) proje ...
Added by ErikTheViking on Thu, 12 Dec 2019 11:39:06 +0200
Spring MVC exception handler
brief introduction
Spring MVC exception information in the process of processing the request is handled by the exception handler. The custom exception handler can implement the exception handling logic of a system.
Abnormal understanding
Exceptions include compile time and run-time exceptions, where compile time exceptions are also called expec ...
Added by Ton Wibier on Wed, 11 Dec 2019 11:38:02 +0200
WebMagic getting started with crawler
This example implements the capture of the latest movie source name list and the download address of the detail page of a movie website.
webmagic is an open-source Java vertical crawler framework. Its goal is to simplify the development process of crawlers and let developers focus on the development of logical functions.
WebMagic features:
Ful ...
Added by cyh123 on Wed, 11 Dec 2019 01:25:26 +0200
springboot configuration file
1. YAML Syntax
1. Basic Grammar
The k-space v represents a pair of key-value pairs (which must have spaces) and controls hierarchical relationships by indentation of the spaces. A left-aligned column of data represents the same hierarchy.Property and value case sensitive
1 server:
2 port: 8081
3 servlet-path: /hello
2. Rules f ...
Added by stweaker on Tue, 10 Dec 2019 15:07:55 +0200
Using the Specification of Spring Data JPA to build database query
The best feature of Spring Data JPA is that it can easily create query SQL by generating query by custom method name. Spring Data JPA provides a Repository programming model. The simplest way is to extend JPA Repository. We get a bunch of common CRUD methods, such as save, findAll, delete, etc. And many database single table query interfaces c ...
Added by yuws on Tue, 10 Dec 2019 14:00:20 +0200
Spring cloud Finchley.RELEASE version 8 service link tracking Sleuth
Sleuth brief introduction
Microservice architecture divides services by services. Exposed interfaces may require many services to cooperate to complete an interface function. If any service on the link has problems, interface calls will fail. At this time, it is very difficult to find the microservices with problems. The main ...
Added by le007 on Tue, 10 Dec 2019 06:55:47 +0200
SpringBoot+MyBatisPlus+ElementUI step by step to build a project with front and rear end separated (with code download)
scene
Step by step, we will teach you to quickly build a spring boot project in IEDA:
https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/87688277
Please refer to the following blog for plug-in installation
Use @ Data to install Lombok plug-in for SpringBoot project in IDEA
https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/88 ...
Added by snap2000 on Mon, 09 Dec 2019 20:19:45 +0200