Implementing bidirectional one-to-one association in JPA
scene
Introduction to JPA and building HelloWorld (with code download):
https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/103473937
In JPA, one-way many to one association is implemented:
https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/103511623
To realize one-way one to many association in JPA:
https://blog.csdn.net/BADAO_LIU ...
Added by Ghostu on Fri, 13 Dec 2019 11:47:20 +0200
SSM + VUE realize simple CRUD
I. project analysis
1, demand
(1) using ssm + vue to implement a crud (database addition, deletion, modification and query).(2) front and back ends are separated, front page display + background management.
2. Technical points
(1) basic framework: SSM (Spring, Spring MVC, Mybatis)(2) database: Mysql(3) front end: UI frame iView + vue(4) proje ...
Added by ErikTheViking on Thu, 12 Dec 2019 11:39:06 +0200
Solve the memory leak problem caused by EditText in android
LeankCanary is used in the development. In a simple page (for example, only including Edittext), it will also lead to internal training leakage. For this reason, I found a lot of information on the Internet and finally solved it.For example, a layout:<LinearLayoutandroid:layout_width="match_parent"android:layout_height="match_parent"android ...
Added by Pedro Sim on Wed, 11 Dec 2019 20:36:45 +0200
Android Development Notes - RecyclerView
Summary
RecyclerView is a scroll control provided in support:recyclerview-v7. To use this control, you need to do the following:
Introduce dependency Library
Add RecyclerView label to layout file
Create a single layout file
Create adapter class
Set up the layout manager and adapter for Recyclerview in the activity
Altho ...
Added by sam_rich on Wed, 11 Dec 2019 19:38:04 +0200
Android IOS like PopupWindow and general base PopupWindow
screenshot
pw.png
Realization
1,BasePopupWindow.java
1.1. Realize dynamic loading of different layout s
1.2. Whether the background is translucent after the dynamic configuration is popped up and restored when it is closed (monitor ondismiss and use the window class to change color)
1.3. Some basic method abstraction methods
...
Added by nullified on Wed, 11 Dec 2019 18:47:30 +0200
Summary of wechat code scanning payment
Summary of wechat code scanning payment
1. Code scanning payment process
Wechat code scanning payment, the process is very simple, that is, put some information you want to pay into the collection, then use the wechat SDK to generate the corresponding URL, and then generate the corresponding two-dimensional code according to the URL. After ...
Added by madspoihur on Wed, 11 Dec 2019 18:29:33 +0200
Spring cloud Finchley.RELEASE version 8 service link tracking Sleuth
Sleuth brief introduction
Microservice architecture divides services by services. Exposed interfaces may require many services to cooperate to complete an interface function. If any service on the link has problems, interface calls will fail. At this time, it is very difficult to find the microservices with problems. The main ...
Added by le007 on Tue, 10 Dec 2019 06:55:47 +0200
JavaEE Foundation (01): Servlet implementation, lifecycle execution
Source code for this article: GitHub. Click here || GitEE. Click here
Introduction to Servlet
Server-side programs written in Java have platform-independent and protocol-independent features. Their main functions are to interactively browse and generate data and generate dynamic Web content.Using the Servlet, you can collect user input from w ...
Added by nosmasu on Tue, 10 Dec 2019 06:14:41 +0200
Build Mybatis framework for idea maven project
Preparatory work:
1. Create a database
2. Create a new user table. The table fields include id, username, birthday, sex and address
3. Download and unzip the maven installation package
New maven project:
1,File-new-Project
2. Select maven and click next
3. GroupId generally fills in the company domain name and writes it backward ...
Added by jawinn on Mon, 09 Dec 2019 23:48:54 +0200
KVM virtual platform - migrating KVM virtual machine
Blog Outline:I. migration mode of KVM virtual machineII. Static migration of KVM virtual machineIII. dynamic migration of KVM virtual machine
I. migration mode of KVM virtual machine
KVM virtual machine migration in KVM platform is divided into the following two types:
(1) cold migration (static migration)
The directory where we store the vi ...
Added by Michael_zz on Mon, 09 Dec 2019 14:59:17 +0200