spring boot integrates MyBatis Generator to automatically generate dynamic sql code

Catalog 1. Background 2. Practice 3. Summary 1. Background          When you recently used mybatis, you saw an article that used yml configuration to simplify the xml configuration MyBatis Generator uses by default, and you wanted to use the MyBatis Generator provided by someone to automatically g ...

Added by alexander.s on Sun, 21 Nov 2021 19:02:16 +0200

Talk about how to integrate JSP view technology in Spring Boot

Some projects are old, and the view technology used is still JSP. Now it is required to turn these old projects into Spring Boot projects, so that they can be packaged into Docker images and then deployed to containers for management. For convenience of explanation and verification. We created a new Spring Boot project. Then integrate JSP ...

Added by joePHP on Sat, 20 Nov 2021 15:55:08 +0200

maven actual combat summary, common operations in work

Mind map Maven and construction What is Maven Accumulation of knowledge, experts and experts. Cross platform project management tools. Open source project organized by Apache. It mainly serves project construction, dependency management and project information management based on Java platform. Similar to yum and apt on linux platform, np ...

Added by DefunctExodus on Mon, 08 Nov 2021 02:24:13 +0200

Illustration of the use and method of mybatis reverse generation plug-in

I. Use 1. in maven's pom.xml  < Import plug-ins in build></build>l <!--Reverse Generation Plugin--> <plugin> <groupId>org.mybatis.generator</groupId> <artifactId>mybatis-generator-maven-plugin</artifactId> <version>1.3.5&lt ...

Added by anthonyv on Wed, 03 Nov 2021 19:29:52 +0200

For SSM integration, a Cannot resolve reference to bean 'com.mysql.cj.jdbc.Driver' or No bean named 'database driven full class name' solution appears

After building a complete SSM framework, I test the addition, deletion, modification and query of the database in the test class. The following is the test code: @Test public void insert() { ApplicationContext applicationContext = new ClassPathXmlApplicationContext("applicationContext.xml"); EmployeeMapper employeeMappe ...

Added by pngtest on Mon, 01 Nov 2021 12:50:31 +0200

Deploy Springboot+Mysql project with Docker Compose

Deploy Springboot+Mysql project with Docker Compose In the last article Spring Boot(Maven)+Docker packaging In, we implemented one click packaging and deployment of the Springboot project source code as a Docker service. In the above, if our Springboot project wants to connect to the database, it must be connected to the public IP. This paper ...

Added by derekm on Sat, 16 Oct 2021 12:11:03 +0300

idoc, an artifact generated automatically from java documents

Write document As a developer, everyone has to write code. At work, almost every developer has to write documents. Because the work is the cooperation between people, the product needs to write requirements documents, the development needs to write detailed design documents and interface documents. However, as a lazy person, one of the most ...

Added by sycoj0ker on Thu, 14 Oct 2021 20:36:00 +0300

[JUnit] JUnit 5 Foundation 4 - Maven integration, parametric test, repeated test [End]

[JUnit] JUnit 5 Foundation 4 - Maven integration, parametric test, repeated test [End] Previous series: [JUnit] JUnit5 foundation 1 - use of junit5 structures and assertions[JUnit] JUnit5 foundation 2 - lifecycle annotation and DisplayName annotation[JUnit] JUnit 5 Foundation 3 - dependency injection, assume, enable / disable testing and nest ...

Added by jaxdevil on Fri, 08 Oct 2021 01:01:40 +0300

Simple use of quick learning C3p0 database connection (with configuration file)

Use of c3p0 database connection pool (I) Theoretical knowledge of database connection pool If we want to use c3p0 database connection pool, we must first understand what database connection pool is and why it is introduced When we use JDBC to interact with the database, a Connection will be created every time we access the database. Af ...

Added by jkmcgrath on Fri, 24 Sep 2021 11:10:02 +0300

Distributed parallel computing experiment WordCount word count

Test the WordCount function in Hadoop cluster Goal: build a Hadoop development environment using Eclipse+Maven, and compile and run the official WordCount source code.   Create Hadoop project     establish Maven project Creating Maven Please set it before the project Maven , at least maven Change the image ...

Added by Bad HAL 9000 on Mon, 20 Sep 2021 19:14:38 +0300