Skeleton's Initial Knowledge of Spring Boot
Understanding Spring Boot
Spring Boot official website
SpringBoot makes it easy to create independent, production-level Spring-based applications that you can "run only".
We have a unique view of the Spring platform and third-party libra ...
Posted by juschillinnow on Fri, 06 Sep 2019 00:54:10 -0700
JDBC of Jaspersoft Data Source
I. Preface
Any report has a data source, which is the source of all data. JasperSoft is no exception, of course, because it supports rich data source adapters. For example, common Jdbc, MongoDB, Json, JNDI, and even our custom implementation of JRDataSource are possible.
As shown in the figure below, ...
Posted by shopphp on Wed, 31 Jul 2019 10:57:15 -0700
Spring injects components through annotations
Component declaration
Annotations such as @Component, @Configuration, @RestController, @Service, @Repository are declared on the class to indicate that the class needs to be injected into the IoC container.
1, @Configuration and @Bean
@Configuration is often used in conjunction with @Bean to inject third-party components.
Example: Injecting Dru ...
Posted by Oxymen on Tue, 30 Jul 2019 10:47:49 -0700
SpringBoot Basic Knowledge and Project Construction
Overview of SpringBoot
background
Springboot uses (conventions are greater than configurations). There are a lot of configurations in the project. In addition, some customary configurations are built in, which greatly reduces our workload. Spring boot makes it easy to create a spring framework-bas ...
Posted by Javizy on Thu, 25 Jul 2019 23:58:06 -0700
springdata Learning Log
SpringData JPA
springdata Learning Log--day1
1. Basic introduction of Spring-data-jpa
2. Integration with Spring
3. Usage and details
springdata Learning Log - day1
1. Basic introduction of Spring-data-jpa
spring-data jpa represents the integration with jpa, and hibernate implementation standard is provided by JPA ( ...
Posted by skymanj on Tue, 14 May 2019 07:19:20 -0700
Druid connection pool setting triggers a blood case [abandon connection, open stackTrace]
Running batch updates on a very low-configuration machine today~~~
Running for about 30 minutes ~~This configuration ~~This program~~~
And then the magnificent newspaper went off the beaten track.~~~
This is the specific exception.
DEBUG: (BaseJdbcLogger.java:132) ooo Using Connection [com.alibaba.druid.proxy.jdbc.ConnectionProxyImpl@4d4 ...
Posted by Wo0tHigh on Tue, 19 Mar 2019 19:09:27 -0700
Resolve the problem that time zone causes druid task construction to fail: No buckets?? See there is no data to index.
Error stack as fllow:
2017-07-10T08:41:36,134 ERROR [task-runner-0-priority-0] io.druid.indexing.overlord.ThreadPoolTaskRunner - Exception while running task[HadoopIndexTask{id=index_hadoop_pageviews_2017-07-10T08:40:32.650Z, type=index_hadoop, dataSource=pageviews}]
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
a ...
Posted by iconicCreator on Thu, 14 Feb 2019 21:45:20 -0800
Springboot integrates general Mapper and Pagehelper to realize mybatis+Druid multi-data source configuration
1. As a supplement to the previous one, this article can be referred to.
https://my.oschina.net/swiftloop/blog/1031404
2. Realization
1)pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apa ...
Posted by Assim on Mon, 11 Feb 2019 08:45:17 -0800
Fast-family framework fast-family-data source multiple data sources and integration xa distributed transaction use case
introduce
Fast-family-data source is a multi-data source processing module in fast-family framework. It provides XA distributed transaction processing, annotations specify data sources, and simple configuration file pointing can complete multi-data sources and transaction management.
Note: For the time being, only druid data sources are support ...
Posted by freakstyle on Sat, 02 Feb 2019 18:36:15 -0800
Article Title Spring Boot Dry Goods Series: (11) Data Storage Chapter - Spring Boot Integrated Mybatis Universal Mapper Plug-in
Preface
Last time I introduced the simple integration of Mybatis in Spring Boot. This article goes deep into creating a template framework suitable for enterprise development by combining generic Mapper, Mybatis Geneator and Page Helper.
text
The project framework still uses Spring Boot's ace back-end template ...
Posted by kender on Tue, 08 Jan 2019 23:36:10 -0800