programmer group

web front-end project integrates both JSP and FreeMaker_u_Multi-view Parser Configuration

*In 2017, at the request of the company, responsible for research and development of intelligent analysis platform, using OLAP technology to analyze tax data from multiple dimensions, levels and cross-business domains, discover data characteristics, summarize tax laws, and support leadership decision-making. After nearly a year, it was finally sorted out version 1.0. Now it is slightly summarized what was used in the whole development...

programmer group

mybatis Series IV: Dynamic SQL

Dynamic SQL is a powerful feature of MyBatis.When using JDBC to manipulate data, concatenating conditions into SQL strings can be painful if there are too many query conditions. The usual solution is to write a lot of if-else conditional statements and strings to concatenate, and make sure you don't forget spaces or omit commas at the end of fields.MyBatis uses a powerful dynamic SQL language to improve this situation. Dynamic SQL...

programmer group

Two implementation methods of java Dynamic agent

Last article we wrote about static agents Agent mode of design mode [1] static agent Let's talk about java's dynamic proxy today. 1, Why use dynamic proxy In fact, the dynamic agent makes up for the shortcomings of the static agent. The static agent needs to write a proxy class for each proxy object, which requires a lot of redundant code. The dynamic agent only needs to write a proxy class, which can proxy multiple different objects...

programmer group

Spring Boot 2.x basic tutorial: MyBatis multi data source configuration

Two days ago, we introduced Multi data source configuration of JdbcTemplate as well as Multi data source configuration of Spring Data JPA , let's talk about how to configure the multi data source scenario when using MyBatis. Add configuration for multiple data sources First, in the configuration file of Spring Boot application.properties Set two database configurations you want to link, such...