Answer assistant software

android makes a question answering assistant software At present, there will be question answering entertainment on all major platforms or in the game. However, if you manually type questions, the time for answering questions will be over before you finish typing, which is slow. So do a simple acad ...

Posted by Xander756 on Fri, 17 Jan 2020 03:58:33 -0800

spring data jpa many to many relationship reports a missed entity passed to persist error

Recently, when spring data jpa is used to maintain many to many relationships between tables, a strange problem arises. When a new object is put into the entity class to maintain many to many relationship set, and then saved with jpa, the following exception will appear. org.springframework.dao.InvalidDataAccessApiUsageException: detached enti ...

Posted by Shadow Wolf on Fri, 17 Jan 2020 00:58:31 -0800

WeChat public number development message processing

I. Preface WeChat public number development (1) WeChat access certification as developer This article will implement receive messages Reply message 2, Message reception Message receiving POST and wechat authentication GET are the same interface (URL filled in by the developer) @Slf4j @RestContro ...

Posted by vornn on Fri, 17 Jan 2020 00:21:30 -0800

Data source and connection pool of Mybatis principle

In Java engineering projects, we often use the Mybatis framework to add, delete, query and modify the data in the database. Its principle is to encapsulate JDBC and optimize the connection of data sources. Let's review the process of JDBC operating database. JDBC operation database When JDBC operates the database, you need to specify the co ...

Posted by The End on Thu, 16 Jan 2020 23:08:18 -0800

Java design pattern 2: observer pattern

Observer mode Definition One to many dependencies between objects are established, so that when the state of an object changes, all its dependents will be notified and updated automatically. In observer mode, when the state of the observed object changes, all observers will be notified. There are ...

Posted by Ellen67 on Thu, 16 Jan 2020 20:58:22 -0800

OOM, don't panic. I'll teach you how to locate

This slag is writing BUG this morning. A problem has been thrown by TL. It is said that there is something wrong with the platform that makes me healthy. After an operation finds the error log, I'm foolishly out of memory error. I can also write this thing, but I haven't located it. org.springframew ...

Posted by FRSH on Thu, 16 Jan 2020 20:14:32 -0800

Linux common commands - update at any time

Preface Blogger github Blogger's personal blog http://blog.healerjean.com 1. Help instruction 1.1 – - help: display command help information inside the shell --The help command is used to display help information inside the shell. The help command can only display command help informati ...

Posted by linus on Thu, 16 Jan 2020 19:13:04 -0800

Learn OpenGL ES for Android - cube mapping

We have learned texture mapping before. We can build a cube from six 2D textures, and the cube map itself contains six 2D textures. Its advantage is that it can index / sample through a direction vector. As long as the center point of the cube map, the actual position vector of the cube can be used t ...

Posted by Bailz on Thu, 16 Jan 2020 11:15:58 -0800

Java uses selenium to crawl the source code of web page and send it by email

1. Project construction: idea + gradle + springboot   build.gradle: introduce selenium related dependency apply plugin: 'java' apply plugin: 'maven' apply plugin: 'idea' apply plugin: 'org.springframework.boot' sourceCompatibility = 1.8 group = 'com.boom.basement' def version = '1.0.0.RELEASE' de ...

Posted by John_wilson on Thu, 16 Jan 2020 10:09:47 -0800

Introduction to Trigger of Quartz task scheduling

Introduction to Trigger Quartz has some different trigger types, but the most used ones are SimpleTrigger and CronTrigger jobKey Indicates the ID of the job instance. When the trigger is triggered, the specified job instance will be executed statrTime Represents the trigger's schedule, the first time it ...

Posted by sajidfiaz on Thu, 16 Jan 2020 07:43:11 -0800