[note] spring MVC + mybatis build Web development environment

After using the habit of jFinal, spring forgot... Take another note here The project structure is as follows First of all, I used maven of IDEA to process mybatis used by the database framework here. The database is mariadb, and I used FASTJSON when I used json to transfer data to the front desk. <?xml version="1.0" encoding="UTF-8"? ...

Posted by PHP_PhREEEk on Thu, 17 Oct 2019 14:36:31 -0700

springboot+mybatis + daydream database

preparation:   First, install the damon6 database. After installation, the following table is established Then, it's very important to write in this way, or you will report unlimited errors. Query method of Dayun database: select * "from" library name "." schema name "." table name "   Secondly, downl ...

Posted by phelpsa on Thu, 17 Oct 2019 08:41:39 -0700

mybatis processes CLOB/BLOB type data

BLOB and CLOB are both large field types. BLOB is stored by binary, while CLOB can store text directly. Usually, information such as pictures, files, music and so on are stored in BLOB fields. First, the files are converted to binary and then stored in. Articles or longer text are stored in CLOB. The corresponding types of BLOB and CLOB in ...

Posted by deadlyp99 on Wed, 16 Oct 2019 07:45:10 -0700

Spring boot 2.0.6 starts the parsing startup process

Analysis of the run method of spring application public ConfigurableApplicationContext run(String... args) { // Construct a task execution observer (Java class for viewing time and performance) StopWatch stopWatch = new StopWatch(); // Start execution, record start time stopWatch.start(); // Custom configuration context, ...

Posted by ashishag67 on Tue, 15 Oct 2019 23:52:29 -0700

It's enough for MyBatis to explain in detail

Chapter 1 details of MyBatis framework configuration file 1.1 typeHandlers type converter Whenever MyBatis sets the parameter to PreparedStatement or gets the value from the ResultSet result set, TypeHandler is used to handle the conversion between database type and java type. The following table describes the default TypeHandlers 1.1.1 c ...

Posted by vahidi on Tue, 15 Oct 2019 17:43:17 -0700

Spring Boot 2.X: Spring Cache

Introduction to Spring Cache Multi-Cache support is introduced in Spring 3.1. In the spring-context package, two interfaces, org.spring framework.cache.Cache and org.spring framework.cache.CacheManager, are defined to unify different caching technologies. Cache interfaces include common operations of caching: add, delete, read, and so on. Cache ...

Posted by copernic67 on Mon, 14 Oct 2019 20:00:28 -0700

Spring Source Learning Extension Points in Bean Creation

Introduction Tired of going to work. Everything is boring. Write an article Deliver on promises One picture wins all The green part is generally used for Spring internal extensions, while the yellow part can be used for custom instantiation. This article just talks about Initializing Bean. For the green part, I suggest you check out blog s wri ...

Posted by toniknik1982 on Sun, 13 Oct 2019 06:50:57 -0700

Spring Boot 2.X: MyBatis Multiple Data Source Configuration

Preface Mybatis multi data source configuration. Recently, in the construction of the project, a new business module needs to be expanded on the original system, and the database is specially divided into databases, so as to reduce the complexity. This article uses a simple code example to illustrate how to configure MyBatis multiple data sourc ...

Posted by ksp on Fri, 11 Oct 2019 20:51:11 -0700

SpringBoot integrates MyBatis-Plus introductory experience

I. Preface This article will integrate MyBatis-Plus based on SpringBoot. MyBatis-Plus is an enhancement tool for MyBatis, which enhances MyBatis without changing its original function.~ 2. SpringBoot Integration MyBatis-Plus Basic environment spring-boot 2.1.8 mybatis-plus 2.2.0 mysql 5.7.24 maven project 1. Introducing MyBatis-Plus dependen ...

Posted by Oren on Thu, 10 Oct 2019 19:58:11 -0700

Spring Cloud Tutorial | Part 2: Building a Configuration Center

1. Building config configuration center 1.1 Building springboot Template Project ignore Project structure: 1.2 Modify pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schema ...

Posted by jbradley04 on Wed, 09 Oct 2019 17:30:54 -0700