HQL of Hibernate learning notes

Today's course: 1. What is HQL HQL is the abbreviation of Hibernate Query Language 2. Differences / similarities and differences between HQL and SQL HQLSQLOperation class name / propertyOperation table name / column nameCase sensitive; keywords are not case sensitiveCase insensitivealiasAlias aUTF-8...

Posted by bruceg on Thu, 21 Oct 2021 09:14:19 +0530

6. Immutability of shared model

Contents of this chapter Use of immutable classesImmutable class designNo design state 1. Date conversion problem Question raised The following code is not thread safe at runtime because SimpleDateFormat is not thread safe SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); for (int i = UTF-8...

Posted by anupamsaha on Sun, 13 Mar 2022 12:02:38 +0530

Practice of Spring cloud and seata distributed transaction solutions -- AT mode

summary This example simulates the authorization function of Fortress device and uses seata to achieve distributed transaction consistency. Address of source code warehouse of this example: https://github.com/bugbycode/spring_cloud_dev.git Work preparation Development tool: Eclipse/Myeclipse/ IUTF-8...

Posted by iambradn on Thu, 26 May 2022 09:36:54 +0530

One of the three characteristics of object-oriented: inheritance

A class can have two important types of members: member variables and methods. Some of the members of a subclass are declared and defined by the subclass itself, and the other part is inherited from its parent class. So, What is inheritance? The so-called subclass inherits the member variable oUTF-8...

Posted by trmbne2000 on Wed, 21 Sep 2022 22:10:15 +0530

Java Object Orientation (Inheritance) (Day 18)

The concept of inheritance: The same attributes and methods in multiple classes are extracted and put into a new class (parent class) There is no need to repeatedly define these properties and methods in multiple classes. You only need to write unique properties and methods in your own class. UUTF-8...

Posted by simcoweb on Fri, 23 Sep 2022 21:49:37 +0530