Hibernate

Hibernate Association

1, One to many configuration and lazy loading query 1. One to many 1.1 association refers to the reference relationship...
7:49 8 November 2021

hibernate Association

1, One to many configuration and lazy loading query ...
16:34 20 October 2021

[Spring Boot] Spring Boot Security REST + JPA + Hibernate + MySQL example | interface security verification and CRUD

This page will introduce examples of Spring Boot Security REST + JPA + Hibernate + MySQL CRUD. When we use Spring Boot t...
14:12 13 October 2021

3. MyBatis Loading Strategy and Comment Development

I. MyBatis Loading Policy 1. What...
12:32 4 October 2021

[Spring] Pure java for Spring-hibernate integration

First import the corresponding jar package for Spring-hibernate ...
10:43 8 July 2020

The use of ThreadLocal in Java Concurrent Programming and source code analysis

The use of ThreadLocal in Java Concurrent Programming and source code analysis Create ThreadLocal and its operation Cr...
3:08 12 June 2020

CGLIB dynamic agent mechanism has been written in all aspects

CGLIB library introduction The agent provides...
4:48 4 June 2020

Hibernate Learning (5) Hibernate Many-to-Many Mapping

When it comes to the many-to-many relationship, the most impressive thing is the optional courses in universities.A stud...
12:38 20 May 2020

Database Middleware - jdbi

Source: https://www.jianshu.com/p/1ee34c858cb9 Java's database uses jdbc natively, and there are many middleware, such...
11:50 20 May 2020

(Reprint) SpringData JPA advanced - JPA one to many, many to many

Link: https://blog.csdn.net/qq_36662478/article/details/89111437 Primary key generation strategy in JPA   &e...
6:01 8 May 2020

Three methods of class instantiation

The ultimate purpose of class instantiation is nothing more than to use the properties or methods of class objects. The ...
15:43 4 May 2020

How do I avoid deadlocks?

When concurrent programs become deadlocked, we often have to restart the application.The best way to solve the deadlock problem is to avoid it. Condit...
2:56 6 December 2019

Three states of Hibernate object

hibernate has three states: Transient, persistent, detached The following figure shows the state transition of objects in hibernate: Example 1 @Test ...
17:08 3 December 2019

Write custom parameter validation

This article has been published for more than two months since I left my previous company two months ago (the reason may be at the end of the year, th...
16:54 2 December 2019

Hibernate 4 + MySQL demonstration of Chinese naming

Recently, there is an opportunity to verify the feasibility of Chinese naming in a given development environment. The source code of the example is as...
12:20 4 November 2019

Synchronizer for Java Multithread Programming

Synchronizer Solutions are provided for each specific synchronization problem Semaphore Semaphore controls access to shared resources through counters...
23:03 13 April 2019