02 | How to fully master the Repository of Spring Data Common?

From the previous lesson, we learned that Spring Data does a good job of encapsulating the entire data operation. Spring Data Common defines many common interfaces and some public implementations of relative data operations (such as paging sorting, result mapping, Autiting information, Transactions, etc.), and Spring Data JPA is the query implementation of Spring Data […]

Docker – access the repository

Docker Hub Overview Docker Hub is Docker’s official public repository, which contains a large number of images created and maintained by Docker companies, organizations, and individual users. Registration and Login Registration: You can register a Docker account for free on the Docker Hub official website. Login: From the command line, use docker login and interactively […]

Vue encapsulates components and publishes them to npm repository

Foreword When developing using the Vue framework, component encapsulation is a very common operation. An encapsulated component can be used anywhere in the project. We can even download other people’s encapsulated components directly from the npm warehouse for use, such as component libraries such as iview and element-ui. However, the business scenarios of each company […]

Automatically generate simple tools for JPA beans and repository generation

Because the tool is not very flexible, I wrote one by hand. It is not technically difficult and only requires a lot of code. import java.io.File; import java.io.FileOutputStream; import java.nio.charset.Charset; import java.sql.*; import java.util.*; /** * JPA dao automatic generation tool */ public class JpaGenerate { //The location of the bean, example: com.jpa.bean static String […]

Pinia (a Vue repository you’ll love using)

Basic usage This is what using pinia looks like API-wise (be sure to check out Getting Started for full instructions). You first create a Store : // stores/counter.js import { defineStore } from ‘pinia’ export const useCounterStore = defineStore(‘counter’, { state: () => { return { count: 0 } }, // can also be defined […]

(a) Spring annotation development, use and instructions of @Repository, @Service, @Controller, @Component of registered components

Annotation scanning principle Get annotations through reflection mechanism @Target(value = {<!– –>ElementType.TYPE})// Set the location where Component annotations can appear. The above representation means that Component annotations can only be used on classes and interfaces. @Retention(value = RetentionPolicy.RUNTIME)//Set the retention policy of Component annotations. The above means that Component annotations can be read by the […]

Two ways to submit code repository with Git

Table of contents 1: Synchronization of two local and remote warehouses 1 git remote repository Submit local repository operation Submit to remote repository operation 1.Git global settings: 2. Add a remote warehouse address 3. Query the currently existing remote warehouse 5. Submit the contents of the local repository to the remote warehouse 6. Query remote […]

[maven] Use Nexus to manage repository

[maven] Use Nexus to manage repository It probably means that there is one more note and two pieces of content, and the maven content is almost finished. This note mainly records the central management part of maven. As mentioned before, our company uses nexux to create a mirror. Here we will also use docker to […]

[GitLab Private Repository] Use GitLab to build your own private repository on Linux and configure cpolar intranet penetration

Article directory Preface 1. Download GitLab 2. Install GitLab 3. Start GitLab 4. Install cpolar 5. Create tunnel configuration access address 6. Fixed GitLab access address 6.1 Reserve second-level subdomain names 6.2 Configure the second-level subdomain name 7. Test access to second-level subdomain names Foreword GitLab is an open source project for warehouse management systems. […]