JAVA Foundation of Big Data Analysis Technology

Write before: Continue to share some basic operations of JAVA today, this series is mainly code-driven. Learning Content Arrangement JAVA Basic Courses: Data Types (1), Operator Expressions and Program Structure Control (2), Object Oriented Basis: Classes and Objects and Interfaces (3), Object Orien ...

Posted on Wed, 26 Feb 2020 19:24:08 -0500 by portia

[MyBatis-03] connection pool, transaction and multi table query

1. Connection pool and transaction drill down 1.1 connection pool technology of mybatis Mybatis has its own connection pool technology. In the SqlMapConfig.xml configuration file of mybatis, use the < datasource type = "pooled" > tag to configure the connection pool in mybatis. 1.1 ...

Posted on Tue, 25 Feb 2020 05:09:02 -0500 by loki1664

Getting started with Spring -- IOC configuration based on annotations

3, IOC configuration based on annotation Article directory 3, IOC configuration based on annotation 1. The form of xml configuration 2. Annotation based configuration 3.1 annotations for creating objects 3.2 notes for injection data 3.3 for changing the scope of action 3.4 life cycle related 3.5 ...

Posted on Tue, 25 Feb 2020 01:12:03 -0500 by shreej21

[SSM] framework integration of SSM: integration ideas

1, Create a web project 1. Add the required jar package in the lib folder:2. Delete the original src directory of the project and create the following four source folders:3. Create the following package structure in "src/main/java". The package name is customized, but the innermost package n ...

Posted on Mon, 24 Feb 2020 09:54:38 -0500 by Getran

Spring and Mybatis integration

Spring and MyBatis integration 1. Environment construction 2. Development and integration of traditional DAO 3. Development and integration of mapper interface 3.1 MapperFactoryBean based integration 3.2 MapperScannerConfigurer based integration 1. Environment construction Required jar packa ...

Posted on Mon, 24 Feb 2020 04:14:08 -0500 by netpumber

About spring auto loading

background As a rule, we need to talk about the background. After all, the problem comes from life, and the difficulty comes from work. If I eat, drink and have no worries every day, I believe I have no problem to write. The company's structure team is pushing a new basic framework, mainly because it is ...

Posted on Sat, 22 Feb 2020 00:25:00 -0500 by natronp

Dynamic SQL for Mybatis Series

Contents of this Chapter Differences between #{} and ${} where and if usage of dynamic SQL Use of trim and if in dynamic SQL Use of SQL and include for dynamic SQL Use of select (when, otherwise) for dynamic SQL Use of foreach for dynamic SQL 1. #{} and ${} #{} should be a placeholder fo ...

Posted on Fri, 21 Feb 2020 23:00:16 -0500 by iamtheironman

Take you to read the Mybatis source code construction

Preface Today we will share with you our commonly used persistence layer framework, MyBatis's work principle and source code analysis. Later, we will do some more in-depth explanations about the Mybatis framework. After that, we will put the content in the official account menu bar: serialized. -Framework analysis, welcome to explore! To be hon ...

Posted on Thu, 20 Feb 2020 22:46:56 -0500 by zeddeh

Mybatis single table operation

Can complete CRUD operation of single table Master the input and output mapping of mybatis framework Master the development of mybatis framework in Dao layer Master the common tags (properties, typeAliases, mappers) in sqlMapConfig.xml The implementation of CRUD operation by mybatis framewor ...

Posted on Thu, 20 Feb 2020 06:09:47 -0500 by ReeceSayer

Detailed explanation of the factory mode used by architects' internal mental skills and classic frameworks

1, Classical frameworks are using design patterns to solve problems Spring is a classic framework that uses design patterns incisively and vividly. In fact, it can be seen from the class name. Let's list one by one: In particular, design patterns are never used independently by a single design pattern. In general, it is often a mixture of mult ...

Posted on Thu, 20 Feb 2020 00:52:21 -0500 by angelorigo