Mybatis Source Chip-properties, Environment Label Resolution

Configuration information in configuration files and test classes: First, add properties and enviroments configuration to mybatis configuration file, and introduce external configuration db.properties <?xml version="1.0" encoding="UTF-8" ?&g ...

Posted by detalab on Mon, 02 Sep 2019 03:54:39 -0700

SSM Framework (Spring + Spring MVC + MyBatis) Learning Notes (03), Lesson 4: MyBatis

Spr + mybatis implementation step diagram 1. Configure the environment and add jar packages jar package mainly includes ioc, aop, dao, connection pool dbcp, mybatis-spring, mybatis driver package. When I study, I find that all the configuration ...

Posted by Hell Toupee on Tue, 27 Aug 2019 22:58:57 -0700

Mybatis Cache-Level 2 Cache

Mybatis supports second-level caching in addition to first-level caching, which is namespace-level. 1. Level 2 cache 1.1 Level 2 Cache Characteristics The second level cache is namespace level, which is superior to sqlSession and can share betwe ...

Posted by cdorob on Tue, 27 Aug 2019 02:15:28 -0700

SpringBoot Integrates MyBatis-Plus 3.1 Detailed Tutorial

Authors: Sans_ juejin.im/post/5cfa6e465188254ee433bc69 I. Explanation Mybatis-Plus is an enhanced plug-in of Mybatis framework. According to the official description, MP only makes enhancements and does not change. Introducing MP will not affect existing projects, such as silky smoothness. And it can quickly perform CRUD operations with ...

Posted by Hatch on Mon, 26 Aug 2019 19:45:23 -0700

SQL Syntax Hint Tool SQL Prompt - On adding NOT NULL columns or making nullable columns NOT NULL

SQL Prompt is a useful SQL syntax prompt tool.It automatically retrieves object names, syntax, and code snippets based on the database, providing users with appropriate code choices.Automatic script settings make the code easy to read - especially if the developer is not familiar with scripts.The SQL Prompt installation is ready to use and can ...

Posted by gabrielkolbe on Mon, 26 Aug 2019 19:18:48 -0700

SQLAlchemy is too big to try Peewee

Shenzhen Python Training: SQL Alchemy is too big to try Peewee SQLAlchemy has powerful functions and rich documents. It is a heavyweight ORM framework. This article introduces a small, clean, lightweight ORM framework Peewee, which supports Python 2. ...

Posted by filburt1 on Mon, 26 Aug 2019 00:12:54 -0700

Automatic Construction and Automated Fault Repair of MySQL MGR Cluster Single-master Mode

/*the waiting game:Although life is so difficult, don't give up; don't compromise; don't lose hope.*/   With the upgrade of MySQL MGR version and the maturity of technology, MGR has become the preferred solution for high availability of MySQL after MHA has been pulled down from the altar.The construction of MGR is not very complicated, but th ...

Posted by jeffwhite on Sat, 24 Aug 2019 03:46:46 -0700

MyBatis source code parsing: building sqlSessionFactory

  public static void main(String[] args) throws IOException { String resource = "mybatis-config.xml"; InputStream inputStream = Resources.getResourceAsStream(resource); SqlSessionFactory sqlSessionFactory = new SqlSessionFactor ...

Posted by kiowa_jackson on Sat, 24 Aug 2019 02:05:55 -0700

Nginx+Zuul Cluster Implements Highly Available Gateway

Code reference: https://github.com/HCJ-shadow/Zuul-Gateway-Cluster-Nginx Routing Forwarding in Zuul preparation in advance Build Eureka Service Registration Center Service Provider msc-provider-5001 [Provide a hello request for testing] Create gateway-7001 pom dependency <dependency> <groupId>org.springframework.cloud&l ...

Posted by dhvani on Fri, 23 Aug 2019 13:44:40 -0700

The Best Used Mysql Tool under MAC: Sequel Pro Extension (bundle) Single Line Display Tool

Has been looking for a better mac Mysql toolTry a few:Navicat is really a cardtableplus is a good idea, but what's more painful is the fee.At first, Sequel Pro didn't work well, but now it feels perfect and needs to be tuned up. Directly into the theme:1.Sequel Pro settings prompt delay is 0.5s, which I have been using the default, prompt super ...

Posted by TimR on Thu, 22 Aug 2019 23:58:11 -0700