Storing one to many object relationships using Hibernate

There are often relationships between objects in life, such as one-to-one, one to many, many to many. For example, there are many students in a Course class who are one to many. In the database, you can add a foreign key to the Student table to point to the class id to indicate that the Student conta ...

Posted by monkuar on Thu, 27 Feb 2020 03:24:00 -0800

MySQL high availability - PXC cluster

Blog Outline: 1, PXC introduction 2, Deploy PXC cluster 1, PXC introduction Reference resources: Official Percona PXC is an open source MySQL high availability solution, which integrates Percona Server and Xtrabackup with Galera library to realize synchronous multi master replication. High availability solutions based on Galera mainly incl ...

Posted by nic9 on Thu, 27 Feb 2020 03:17:08 -0800

hive installation (incomplete)

1. Three installation methods of hive Three installation methods of Hive are introduced on Hive official website, corresponding to different application scenarios. In the final analysis, the storage location of metadata is different. Embedded mode (metadata is saved in the embedded derby database, al ...

Posted by akreation on Thu, 27 Feb 2020 02:23:22 -0800

Linux operation and maintenance - disk storage - 2. RAID

With the limitations of single disk in data security, performance and capacity, RAID has emerged. RAID combines multiple independent disks in different ways to form a disk group to obtain higher data security, performance and capacity than single disk. 1, Common RAID levels Raid has several levels of RAID0~RAID7. In addition, there are some co ...

Posted by simplyi on Thu, 27 Feb 2020 01:15:44 -0800

Application of java 8 in Spring Boot JPA

Article Directory Optional Stream API CompletableFuture Application of java 8 in Spring Boot JPA In the last article we talked about how to use JPA in Spring Boot.In this article, we will explain how to use the new special habits of java 8 in Spring Boot JPA, such as Optional, Stream API, and Comp ...

Posted by Anarchatos on Wed, 26 Feb 2020 18:07:50 -0800

The use of database transaction in Spring BootSpring Boot

Hello, welcome to the program workplace, where you need to improve technology, career planning, personal growth, sideline development and other articles. Learn and improve with more small partners. This is the twelfth article in the Spring Boot series. Understanding the previous articles will hel ...

Posted by tinkertron on Wed, 26 Feb 2020 05:15:24 -0800

Recent learning

1.SpringBoot What is SpringBoot Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications n ...

Posted by 244863 on Tue, 25 Feb 2020 23:51:06 -0800

Laravel + Serverless Framework to quickly create CMS content management system

Today, I will bring you a comprehensive practical battle of Laravel + Serverless Framework. There is a bit more information in it. Please take a closer look First of all, let me introduce the main local environment: Git: not much, as long as you can knock the code, you should know Node.js: due to Tencent cloud Serverless Framework The main pro ...

Posted by ripcurlksm on Tue, 25 Feb 2020 19:19:28 -0800

Summary of Spring Boot actual combat project

Summary of Spring Boot actual combat project (1) Project design ideas (steps) Development environment construction and log git common commands Learning methods List of projects available for reference 1, Project design ideas (steps) 1. Analysis function: what are the functions and application scena ...

Posted by Paingiver on Tue, 25 Feb 2020 19:01:18 -0800

CentOS 7 deployment million pv projects (high availability Architecture)

PV introduction PV (Page View) is the number of clicks. Generally speaking, PV is the main indicator to measure a network news channel or website or even a network news. PV's explanation is as follows: a visitor looks at several pages of the website in 24 hours (0:00-23:00). It should be noted that the same person browsing the same page of th ...

Posted by mars16 on Tue, 25 Feb 2020 02:44:51 -0800