springboot integrates mybatis (no spring development experience version)

directory structure Directory interpretation 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

Spring transaction attribute details

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. Propagation attribute The propagation attribut ...

Posted on Sat, 02 Nov 2019 01:02:55 -0400 by lostsoul111455

Java common classes - time and date classes

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 java.lang.System class 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

oralce import and export summary

In the actual environment, we often encounter building A server A user environment and moving to another environment. 1.exp export: exp health_base/health_base@10.1.1.6: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

Introduction to WebApi of EF Core

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 2 { 3 pu ...

Posted on Fri, 01 Nov 2019 23:26:06 -0400 by SuprSpy79

The solution to the problem of PLS-00905 object is invalid, statement ignored in oracle PL/SQL stored procedure

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)) AS psssal TESTDELETE.TESTID%TYPE; BEGIN 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

Lecture 5 hash algorithm (encryption algorithm)

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

Silent mode of single instance installation of daydream database V7 on Linux platform

Preface 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

php multiprocess + message queuing

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

An example of SSM framework -- information management system

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