php operation solr7.5 data imported through mysql

solr installation and configuration download Download address: http://www.apache.org/dyn/closer.lua/lucene/solr/7.5.0 Unzip directly after downloading. To configure Create a new core Enter the directory after decompression (replaced by ~ / Solr root /), enter ~ / Solr root / server / Solr /, create a new directory, and define the directory nam ...

Posted by adrianuk29 on Thu, 05 Dec 2019 17:20:28 -0800

MyBatis reverse engineering -- automatic generation of Java code

As for automatic code generation, there are many tools and different methods on the Internet. MyBatis is the first automatic code generator I have come into contact with. It's relatively simple, with less code, and it's easy to understand. After that, I won't talk about much nonsense. Let's talk about the implementation method and code explanat ...

Posted by phychion on Thu, 05 Dec 2019 16:45:50 -0800

Spring AOP development of AOP based on AspectJ

Realize AOP development mode based on AspectJ: Annotation mode XML mode AspectJ is an AOP framework based on Java language; support for AspectJ pointcut expressions has been added since spring 2.0 @AspectJ is a new function of AspectJ 1.5. With JDK 1.5 annotation technology, you can directly define facets in Bean classes @Aspe ...

Posted by winsonlee on Thu, 05 Dec 2019 14:26:33 -0800

Integrating spring cloud cloud service architecture - commonservice Eureka project construction process

For the eureka project of HongHu cloud, we do the following construction. The whole construction process is very simple. I will record every step of the construction process, hoping to help you: 1. Create a maven project named particle common Eureka and inherit the particle common service. The specific pom.xml configuration file is as follows: ...

Posted by jandrews on Thu, 05 Dec 2019 11:00:35 -0800

springboot simple mail send

Reasons for writing: Near the end of the project, the requirements change again and again. In fact, the technical point has never changed. It's just the change of business logic and the function of sending e-mail reminders. It's changed seven times in two months. I want to record the technical points. It's not about the business here, it's only ...

Posted by GetPutDelete on Thu, 05 Dec 2019 09:49:23 -0800

Java's new project learning online notes-day6

1.3 page publishing manufacturer 1.3.1 demand analysis The administrator publishes the consumption of "page publishing" through cms system, which is the producer of page publishing.The requirements are as follows:1. The administrator enters the management interface and clicks "page publishing". The front end requests the cm ...

Posted by kjb on Thu, 05 Dec 2019 08:58:47 -0800

Single sign on CAS6 - customized user information returned by the server

principle The returned user information is configured in deployerConfigContext.xml Since you want to customize the returned user information, just inherit org.jasig.services.persondir.support.stubbersonattributedao 1. Create com.jadyer.sso.authentication extensions stubbersonattributedao and copy getPerson() method Use @ ...

Posted by faifas on Thu, 05 Dec 2019 04:19:41 -0800

MyBatis -- generator reverse engineering

I. Introduction Official website: http://www.mybatis.org/generator/index.html By using the official mapper auto generation tool, mybatis-generator-core-1.3.2, po classes and mapper mapping files are automatically generated. Function: mybatis officially provides reverse engineering, which can be used to automatically generate Mapper interface, m ...

Posted by sumathi on Wed, 04 Dec 2019 21:56:30 -0800

Create xml data transformation by DOM parsing of json data format

Create xml data transformation by DOM parsing of json data format The first JSON tool to use is org.json In the past, FastJson was used. At the beginning of contact, it was still around many pits. However, it was also very easy to touch some of them at last Start with the code dome {"result": [{"comments": [{"id":"489ac5ea-c13 ...

Posted by numan82 on Wed, 04 Dec 2019 16:36:00 -0800

Hibernate -- learning (12) -- one to one association based on foreign key mapping

1. For the 1-1 association based on foreign key, the foreign key can be stored on either side, and the many to one element can be added at the end where the foreign key needs to be stored. Add unique = "true" attribute to many to one element to represent 1-1 Association 2. The other end needs to use the one-to-one ...

Posted by zemerick on Wed, 04 Dec 2019 16:10:41 -0800