Open API is open API, also known as open platform. The so-called open API (OpenAPI) is a common application of service-oriented websites. Website service providers encapsulate their own website services into a series of services
API (Application Programming Interface) is open for the use of third-party developers. Thi ...
Posted on Thu, 16 Jan 2020 12:38:05 -0500 by omidh
4, Mapper layer
5, Test code
Query the detailed information of a user. In addition to the basic information of the user, it also includes the user's department and the user's role
Users and departments:
Posted on Wed, 15 Jan 2020 04:53:50 -0500 by phpdragon
struts to implement the interaction between browser and server;
spring completes object creation, object dependency and transaction processing
hibernate completes data access
1. By accessing the browser, spring can create an action without creating it by itself
2. Set c3p0 in spring to improv ...
Posted on Fri, 10 Jan 2020 11:07:04 -0500 by bfinucan
Introduction: Recently, I learned Tomcat and felt it necessary to review the Java reflection mechanism and deepen my understanding.
1, Review of reflexive knowledge
this part refers to the explanation of java reflection in Li Xinghua's java se practice classic.
reflection contains a conc ...
Posted on Fri, 10 Jan 2020 09:20:43 -0500 by flumpy
There is no way to write * in the hql statement:
import com.rl.hiber.utils.Hib ...
Posted on Thu, 02 Jan 2020 23:56:40 -0500 by pngtest
_I don't know if you like or dislike using JPA. I really like not to tell me that JPA is not suitable for complex queries and so on. You need to know that all of them are micro-services now. As long as your server is split up sufficiently and the table design is reasonable, how many related queries can be transferred between services?And it com ...
Posted on Mon, 23 Dec 2019 21:58:36 -0500 by flyersman
## **1. Differences between hibernate and mybatis**
1. The biggest difference between them
For simple logic, both Hibernate and MyBatis have code generation tools to generate simple, basic DAO layer methods.
For advanced queries, MyBatis needs to manually write SQL statements, as well as ResultMap, while Hibernate has a good mapping mechanism t ...
Posted on Thu, 19 Dec 2019 22:02:44 -0500 by Brendan
Before learning JPA, let's understand the relationship between JDBC and major databases.
A long time ago, many databases appeared, such as Mysql, Oracle, SqlServer, DB2, etc. This leads to the API of which database the application will use to connect to.
So JDBC came up, defined a set of specifications, and the application called JDBC, an ...
Posted on Tue, 10 Dec 2019 12:39:24 -0500 by resago
In the process of the project, it is necessary to verify the parameters. If there are few parameters, we can directly verify them by code. However, when the data is large, it will be cumbersome to use this method. Next, Validation, our main character, will come on the stage
Posted on Sun, 08 Dec 2019 22:30:38 -0500 by crouchl
When concurrent programs become deadlocked, we often have to restart the application.The best way to solve the deadlock problem is to avoid it.
Conditions under which deadlocks occur
Mutually exclusive, shared resources can only be occupied by one thread
Occupy and wait, thread t1 has acquired shared resource s1, try to acquire shared r ...
Posted on Fri, 06 Dec 2019 02:56:43 -0500 by arth