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
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
2. locate command
3. Where is command
4. which command
5. type command
Find is the most commonly used and powerful find command, which can find any type of file.
The general format of the find command is: find < specify Directory > < specify condition > ...
Posted by alexus on Thu, 16 Jan 2020 09:46:02 -0800
cp command backup is a warm, full backup, the backup process needs to maintain a global read lock, this lock is more lethal to the database, it is likely to make the database hang in production environment, so it is not recommended to use in production environment.
1. Add a global read lock to the backup library: fl ...
Posted by djopie on Thu, 16 Jan 2020 09:39:26 -0800
Learn from this
In this article, I will share my other favorite DEBIAN system environment. It may be preferred by novices One click installation package , but this step installation is more clear about what you need to install, and it can save resources. Some components do not need to be installed, ...
Posted by l3asturd on Thu, 16 Jan 2020 09:27:57 -0800
Introduction to Trigger
Quartz has some different trigger types, but the most used ones are SimpleTrigger and CronTrigger
Indicates the ID of the job instance. When the trigger is triggered, the specified job instance will be executed
Represents the trigger's schedule, the first time it ...
Posted by sajidfiaz on Thu, 16 Jan 2020 07:43:11 -0800
Modify data record
Q object - Q()
Native database operation method
The query of database needs to use manager object
Call the query interface through the MyModel.ob ...
Change from: https://www.jianshu.com/p/fc2d2dbd510b
kerberos is mainly used for identity authentication in network communication, and its main feature is "complexity". So it's best to familiarize yourself with the principles of kerberos before entering the pit. Her ...
Posted by teguh123 on Thu, 16 Jan 2020 06:33:13 -0800
What is RocketMQ
Alibaba message queuing version RocketMQ not only provides asynchronous decoupling and peak clipping and valley filling capabilities for distributed application systems, but also has the features of massive message accumulation, high throughput, reliable retry and other features required by Internet applications, as well as cha ...
Posted by blackwinged on Thu, 16 Jan 2020 04:37:27 -0800
linux redhat6 Oracle11g rac +lvm +asm installation process summary experience
Main operating system: windows 10
Virtual machine VMware 15: Two Red Hat Enterprise linux 6.10
Package: Oracle Database software: Oracle11gR2
Cluster software: Oracle grid infrastructure 11gR2(11.2. ...
Posted by Heywood on Thu, 16 Jan 2020 01:37:19 -0800