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

Literal operation database

Litepal is an open-source Android database framework. It uses the object relational mapping (ORM) mode to encapsulate some database functions that we usually use. Add dependent file compile 'org.litepal.android:core:1.6.1'Object relational mapping (ORM): the programming language we use is the object-oriented language, and the database we use ...

Added by geetakhurana on Mon, 13 Apr 2020 19:25:04 +0300

Spring Boot integrates Swagger2 to build RESTful API documents

Introducing dependency Add io.springfox:springfox-swagger2 and io.springfox:springfox-swagger-ui dependencies to pom.xml <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.8.0</version> </dependency> <dependency> <groupId&gt ...

Added by kernelgpf on Sun, 12 Apr 2020 19:28:39 +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

Gausdb t distributed cluster deployment and upgrade Guide

In this paper, we use four nodes to deploy the gausdb t 1.0.1 distributed cluster, and then upgrade it to version 1.0.2 after the deployment is completed (install version 1.0.2 directly, during the installation process, segment fault will be reported, which has not been resolved yet). Refer to the previous articles for the preparation of the o ...

Added by Michael on Tue, 07 Apr 2020 14:16:59 +0300

Research on the dynamic update scheme of Android multi language

This article starts with WeChat official account of vivo Internet technology. Links: https://mp.weixin.qq.com/s/jG8rAjQ8QAOmViiQ33SuEg Author: Chen Long Recent projects need to support dozens of languages. Many small languages seem to be the same as garbled code in the eyes of people who don't know them. Translation is generally transl ...

Added by liamloveslearning on Tue, 07 Apr 2020 13:20:15 +0300

[swagger] the use and avoidance of swagger in C Chen

@ Catalog 1 installation 2 modification name and version number 3 display description 4 display controller notes and Chinese 5. The same route and different query parameters 6 ignore some fields in the Model 7 delivery header 8 HTTP status code on error When developing web api, it's a pain to write documents. Without documents, people don' ...

Added by nbalog on Tue, 07 Apr 2020 10:29:41 +0300

hadoop 8-day course -- the fifth day, the HA mechanism of hadoop

The mechanism of hadoop is only available in hadoop 2.x. the implementation of this function depends on a distributed component: zookeeper. Brief introduction to zookeeper zookeeper mainly provides distributed coordination services. Main functions: 1. Provide storage and management of a small amount of data. 2. Provide monitoring function for d ...

Added by THEMADGEEK on Mon, 06 Apr 2020 12:21:44 +0300

Gradle's article is enough for 05 - Multi engineering builds

Multi engineering construction Maven realizes the combination of multiple modules by using modules. In Gradle, it can be realized by aggregating multiple project s. This article mainly introduces the specific usage. Multi engineering structure Create a three-tier structure as follows graph TD helloProject --> subProjectA helloProject ...

Added by jdnet on Mon, 06 Apr 2020 06:39:36 +0300

ActiveMQ's three server high availability cluster construction scheme

1. High availability cluster construction scheme Node A: synchronize messages with node B, node C, so node a, node B, node C can be used as consumer access nodes Node B: as master node, as producer access node and consumer access node Node C: as slave node of slave, as producer access node and consumer access node. When the master node is ...

Added by solus on Mon, 06 Apr 2020 03:38:17 +0300