controller defines route
service business logic processing
Entity entity class corresponds to table in database one by one
mapper database operation, define the interface to all kinds of CUDR of database, myBatis framework will automatically generate entity class
The XML file of mapping database ope ...
Posted on Sat, 02 Nov 2019 04:17:46 -0400 by edsmith
To learn things, we need to integrate knowledge with practice. If we only know the theory but never practice it, we will not have a solid grasp of it. It is estimated that we will forget it in a few days. Next, we will practice together to learn the propagation properties of Spring transactions.
The propagation attribut ...
Posted on Sat, 02 Nov 2019 01:02:55 -0400 by lostsoul111455
Time and date are often involved in development. Record the time and date related API in Java.
Classes related to time and date before JDK8
The System class provides a public static method currentTimesMillis() to return the time difference in milliseconds between the current time and 0:00:00 on January 1, 1970, also known ...
Posted on Sat, 02 Nov 2019 00:50:12 -0400 by WendyLady
In the actual environment, we often encounter building A server A user environment and moving to another environment.
exp email@example.com:11521/orcl owner=('health_base') rows=y indexes=y feedback=100000 file=D:\health_base/health_base%Date:~0,4%%Date:~5,2%%Date:~8,2%%Time:~0,2%%Time:~3, ...
Posted on Fri, 01 Nov 2019 23:44:12 -0400 by hours12
It mainly describes the use of EF Core's CodeFirst to migrate database, simple interface addition, deletion, modification and query, and Swagger to generate interface documents.
1. New project create DbContext and entity model
(1) add ToDoDbContext and inherit DbContext
1 public class ToDoContext:DbContext
3 pu ...
Posted on Fri, 01 Nov 2019 23:26:06 -0400 by SuprSpy79
Yesterday, while learning oracle stored procedures, I wrote a demo of stored procedures. The statement is as follows:
CREATE OR REPLACE PROCEDURE RAISESALARY(PNAME IN VARCHAR2(20))
SELECT TESTID INTO psssal FROM TESTDELETE WHERE TESTNAME=PNAME;
UPDATE TESTDELETE SET TESTID=(TESTID ...
Posted on Fri, 01 Nov 2019 19:50:00 -0400 by vichiq
1. Encryption is often involved in the process of identity authentication. Data information is not secure if it is not encrypted. Shiro content implements more hash algorithms. Such as MD5, SHA, etc. And salt adding function is provided. For example, the MD5 code of "1111" is "b59c67bf196a4758191e42f76670ceba". This MD5 code ...
Posted on Fri, 01 Nov 2019 17:29:40 -0400 by anikin
When learning any application, the first step to understand it is usually to learn how to install and configure it, and then to care about how to use it. The same is true for learning Damin database, which provides a variety of installation methods. Next, we will introduce each installation method one by one. Damin database supports th ...
Posted on Fri, 01 Nov 2019 16:21:33 -0400 by joebudden
Note: PHP multi process is generally used to execute PHP script in php_cli command line. When doing process task, check whether PHP has opened pcntl extension (pcntl is abbreviation of process control process management)
Pcntl? Fork - Branch (child process) at the current position of the current process. A basic example of a fork subproce ...
Posted on Fri, 01 Nov 2019 12:33:20 -0400 by Lphp
SSM framework is a popular java web framework at present, and many small partners are also learning. Here, we will bring you a simple small example of database addition, deletion, modification and query information management system.
1. First, we create a database
2. Configure database informa ...
Posted on Fri, 01 Nov 2019 11:51:10 -0400 by ssmitra