MyBatis+Oracle in the execution of insert time and space value error reporting: source code to find solutions

To facilitate the test, the Demo code is given first: mybatis-oracle-config.xml 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" 3 "http://mybatis.org/dtd/mybatis-3-config.dtd"> 4 5 <configuration> 6 <properties> 7 <property nam ...

Added by fifin04 on Wed, 15 Apr 2020 18:10:12 +0300

Analysis on the principle of MyBatis integrating Spring

Catalog Analysis on the principle of MyBatis integrating Spring MapperScan's Secret Brief summary If not combined with the Spring framework, a typical way to use MyBatis is as follows: public class UserDaoTest { private SqlSessionFactory sqlSessionFactory; @Before public void setUp() throws Exception{ ClassPathResour ...

Added by reckdan on Wed, 08 Apr 2020 16:03:56 +0300

Configuring mybatis in spring project

There are many ways to integrate mybatis in spring, which can be fully xml configured or annotated. A simple configuration method is recorded here. Project directory: 1. Reference the maven configuration of the jar package. <dependency> <groupId>org.springframework</groupId> <artifactId>spring-jd ...

Added by ViralStef on Tue, 31 Mar 2020 23:20:32 +0300

Mybatis framework III: DAO layer development, Mapper dynamic agent development

Here is the basic construction: http://www.cnblogs.com/xuyiqing/p/8600888.html Next, we did simple addition, deletion, modification and query: http://www.cnblogs.com/xuyiqing/p/8601506.html   But we found that there were too many duplicate codes Next, integrate and implement DAO development:   1: Original DAO development: package dao; import ...

Added by jomofee on Tue, 31 Mar 2020 22:11:25 +0300

Qile background management system -- order management module

hello!!! I introduced it to you the other day----- Store management module Today's order module and management module are almost the same, and the implementation method can be almost the same!! But I still need to explain the order module to you, because the front-end part of the order module will give you two special tags, and let you have a d ...

Added by illzz on Thu, 26 Mar 2020 11:57:57 +0200

Implementation of user operation logging based on struts 2 interceptor

Here based on struts 2 interceptor to achieve. Use struts 2 interceptor to intercept all or specified requests, acquire and store the information such as operation user, operation time, operation location, operation result and operation time in the process of user operation, so as to facilitate the query and display of data in the future. Op ...

Added by agge on Mon, 23 Mar 2020 17:56:45 +0200

Builder Mode of Creative Mode

1 Overview As we said earlier Factory Mode and Abstract Factory Mode , let's talk about the builder model. The builder mode is also a very common creation mode. The two factory modes mentioned earlier hide the properties and construction details of a class, while the builder mode exposes the properties of a class appropriately through the Build ...

Added by g-force2k2 on Sun, 22 Mar 2020 09:04:09 +0200

Spring Cloud Micro Service Architecture From Getting Started to Getting Used - Calling Feign Between Services

One of the most important functions of micro-services is the call between services, which depend on each other.For example, e-commerce systems have order services and inventory services.When we buy a product, we need to generate orders and reduce inventory.Here we're going to use inter-service Feign calls. Feign is a lightweight framework for H ...

Added by no_one on Sun, 22 Mar 2020 06:05:11 +0200

[Spring Boot] Mybatis Plus 3.X condition query

[introduction] I wrote a blog before< [Spring Boot] Mybatis Plus 2.X condition query >, we know that the query methods of Mybatis Plus 2.X and 3.X are not the same. This blog will summarize the application of various query methods of 3.X. [example] Take the query of article table as an example to ...

Added by zampu on Tue, 17 Mar 2020 10:32:01 +0200

Construction of microservice parent project

1. Steps of building parent project based on IDEA New maven project 2. Name of aggregation parent project Maven selected version Character encoding settings Annotation effective activation Java version selection 8 File Type filtering 2.pom file description 1.pom Document conten ...

Added by pha3dr0n on Sat, 14 Mar 2020 16:44:16 +0200