1. Pain points of mybatis
We know that MyBatis is a persistence layer framework based on java. It encapsulates jdbc internally, which greatly improves our development efficiency.
However, there are many pain points in developing with Mybatis:
Each Dao interface needs to define a bunch of addition, deletion, modification and query methods ...
Posted by greenber on Sun, 15 May 2022 00:18:14 +0300
Write in front
CSDN topic challenge phase 1
Event details address: CSDN Entry topic: front end interview collection Topic Description: welcome to join the topic creation partners. If I guess correctly, I think you should be a front-end person like me. Nowadays, the front-end accounts for an increasingly important proportion in the IT indus ...
Posted by Crashin on Sat, 14 May 2022 23:20:58 +0300
When we write programs, especially those related to network requests, such as calling web interfaces, running web crawlers and other tasks, we often encounter some accidental request failures. In this case, if we simply catch errors and skip the corresponding tasks, it is certainly not rigorous, especially in web crawlers, there will be the ris ...
Posted by joyser on Sat, 14 May 2022 21:43:46 +0300
Space Configurator
1. What is a space configurator
Efficient management of space (space application and recycling) for each container
2. Why do I need a space configurator
Various containers ----- > can store elements ----- > the bottom layer needs space
new application space
operator new ---->malloc
Call constructor ---- comple ...
Posted by Wolf_22 on Sat, 14 May 2022 03:16:29 +0300
preface
The last article introduced the structure of sds and how to use sds. In this chapter, we will go back to the place of reading io data to see how redis reads data from io and finally converts it into the process of executing commands. This article needs to be familiar with the previous two articles first. Students who haven't read ...
Posted by dustbuster on Tue, 10 May 2022 08:16:03 +0300
I met a very strange problem while debugging the company's project a few days ago. Today I'll study it here
Follow official account: Java architects alliance, update technical articles every day
scene
As a PDA interface is newly added to the company to query the historical parking flow data, I first check the qualified data from the database ...
Posted by Sangre on Fri, 06 May 2022 20:42:28 +0300
volatile is an important part of Java Concurrent Programming and one of the common interview questions. Its main functions are to ensure the visibility of memory and prohibit instruction reordering. Let's look at these two functions in detail.Memory visibilityWhen it comes to memory visibility, we have to mention the Java Memory Model. The Java ...
Posted by blackhawk08 on Thu, 05 May 2022 09:37:01 +0300
Interviewer Q1: can you write a simple implementation of ArrayList?
We all know that ArrayList is implemented based on array. If you are asked to implement the add(), remove(), get() methods in ArrayList of JDK source code, do you know how to implement them? In this section, instead of looking at the source code, let's think about how to simpl ...
Posted by lush_pierre on Wed, 04 May 2022 08:28:04 +0300
This column is mainly used to help Java users quickly get started with data structures and brush algorithm problems!
preface
Since ancient times, the data structure industry has been divided into nine days. It is said that after breaking through these nine days, you can attack the algorithm industry and finally become a man, which is respec ...
Posted by dsaba on Tue, 03 May 2022 23:14:47 +0300
java common interview questions
1 talk about your understanding of constants
Constants are final A modified variable must be assigned a value when it is defined, and the value cannot be modified. Usually, it needs to be capitalized when it is defined, and then multiple letters are separated by underscores.
2 talk about the understanding of ...
Posted by pete07920 on Tue, 03 May 2022 10:31:36 +0300