7. Integration of Spring Boot and jOQ

The Spring Boot or Spring Cloud-based micro-service system is the mainstream in the current situation of prevailing micro-services, and is also the new direction of selection in the current business scenario. Using Spring Boot to integrate jOOQ is relatively simple compared to using Spring directly ...

Posted by UrbanCondor on Wed, 04 Mar 2020 04:26:18 +0100

Spring Data Jpa: use and source code analysis of Spring Data Jpa

Spring Data Jpa (2): use and source code analysis of Spring Data Jpa 1, Overview of Spring Data JPA 1.1 Spring Data JPA 1.2 relationship between Spring Data JPA, JPA and hibernate 2, Getting started 2.1 integrating Spring Data JPA and Spring 2.2 use JPA annotation to configure mapping relationship ...

Posted by ted_chou12 on Tue, 03 Mar 2020 09:33:05 +0100

@Scheduled for SpringBoot Source Analysis

Springboot can accomplish timed tasks by annotating @Scheduled. Here's a little bit of analysis of its source code @Service public class MyScheduled { @Scheduled(cron="${time.cron}") void paoapaoScheduled() { System.out.println("Execute at " + System.currentTimeMillis()); } } ...

Posted by successor on Tue, 03 Mar 2020 02:03:22 +0100

Technology dry goods sharing | spring cloud gateway full link implementation analysis

1. background With the popularity of microservice architecture, services are divided according to different dimensions. A request often involves multiple services. And many services may be distributed in thousands of servers, across multiple different data centers. In order to locate and solve the fault quickly and analyze the application perf ...

Posted by MentalMonkey on Mon, 02 Mar 2020 10:40:46 +0100

Architect's internal mental skill, a detailed explanation of the decorator model necessary for the reconstruction project experience

1, Application scenario of decorator mode In our life, for example, add an egg to a pancake, add some fruit to the cake, decorate the house, etc. Extend the responsibilities of some extra objects to objects. Decorator Pattern means that it provides a more flexible alternative (extending the function of the original object) than inheritance with ...

Posted by kutyadog on Fri, 28 Feb 2020 12:50:01 +0100

[Chapter 9 of Mybatis source code analysis] SqlSessionHolder function

origin In the process of using mybatispree, it is found that an error will be reported if an insert is executed and a batch insert is executed in a transaction Cannot change the ExecutorType when there is an existing transaction [the external link image transfer failed. The source station may have ant ...

Posted by brij_theinvader on Wed, 26 Feb 2020 05:28:18 +0100

Eclipse deployment spring MVC + Maven project

Recently, I was tutoring in spring MVC foundation. In view of having contacted Maven before, I couldn't leave it. So Maven was chosen to introduce dependency. However, my previous work projects have exposed me to SpringBoot+maven, and spring MVC has no maven, both of which I still remember. However, spring MVC + maven, this combination, really ...

Posted by ph0ngwh0ng on Tue, 25 Feb 2020 16:24:30 +0100

The way of Spring learning -- Annotation development

The way of Spring learning -- Annotation development 1, Introduce related packages and constraints After spring 4, to use annotation form, you must introduce aop package Here we can find the related packages in maven warehouse. In the configuration file, you also need to introduce a context constrai ...

Posted by watsonowen on Tue, 25 Feb 2020 13:59:13 +0100

Spring boot 2.0 integrated data source Druid

Preface After a noisy day, problems such as too many redirects to visit the Druid login interface and no login interface can be seen are finally solved. Let's go through how to integrate Druid on native JDBC. 1, Create a new project integrating JDBC data sources [1] Introduction of starter [2] Confi ...

Posted by kurios on Mon, 24 Feb 2020 13:42:36 +0100

WeChat official account develops SpringBoot +Spring Security + thymeleaf + layui

SpringBoot +Spring Security + thymeleaf + layui Program ideas and resource sources: Wx Java wechat working number original demo NatApp intranet penetration layuimini background template Wechat work number interface test number acquisition This is written for the purpose of binding the WeChat official a ...

Posted by sniperscope on Mon, 24 Feb 2020 05:43:03 +0100