SpringBoot learning notes-014

Integrate Mybatis <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>2.1.2</version> </dependency> Steps: 1) . configure data source related properties (see Druid in the previous section) 2) . creating tables for data ...

Posted by Mhz2020 on Sun, 05 Apr 2020 03:41:40 -0700

Automating SQL with Python

I often use SQL in my work, which has annoying subtle differences and limitations, but after all, it is the cornerstone of the data industry.Therefore, SQL is indispensable to every data worker.Being proficient in SQL means a lot. SQL is good, but how can you just be satisfied with "good"?Why not proceed further with SQL? Statements c ...

Posted by barnbuster on Sun, 05 Apr 2020 03:05:57 -0700

Use of webAPi OData

1, Introduction to OData Open Data Protocol (OData) is a description of how to create and access Restful Service OASIS Standard. 2, The usage of OData in asp.net mvc 1. Create a new webApi project in vs 2. Add test type public class Product { public int Id { get; set; } public string ProductName { ...

Posted by visualAd on Sun, 05 Apr 2020 02:45:59 -0700

[Java Series 004] don't underestimate Redis distributed lock

Hello, I'm miniluo. For positions requiring distributed experience, interviewers always like to ask questions about distributed locks. Recently, I have the honor to participate in the company's interview, and I often ask about the knowledge of distributed locks. Most of the candidates' answers are more limited to using, and they have not though ...

Posted by Sekka on Sun, 05 Apr 2020 01:39:05 -0700

How can the code for dao and entity be generated automatically in actual development?A tool for you

01 Focusing on your "Ape Story" friends, you know that previous articles have advocated rejection of CRUD. What is CRUD?Today let's talk about how the Java sisters and apes interact with the old database man.   Product Xiao Wang Tiao said forcefully: Ape classmates, let's launch a pop-up product in the near future, you first achieve ...

Posted by Vebut on Sat, 04 Apr 2020 22:52:17 -0700

ThinkPHP5.0+APP+ Alipay payment server development

Working environment, Alipay account is company, app application and secret key configuration are my own application, and the process is temporarily skipped. 1, Preparations appid, application private key, application public key, Alipay public key 2, Profile 'alipay'=>[ 'appId' => '20180300000000', 'gatewayU ...

Posted by hchsk on Sat, 04 Apr 2020 20:08:39 -0700

mongoDBmongoDB Replica Set Actual

mongoDB Replica Set Actual Warfare background Features of a mongoDB single server: - Risk of data loss - Single server cannot be highly available Features of the mongoDB replica set: -High Availability Architecture to Prevent Data Loss - Keep multiple replicas synchronized and consistent - The mongodb replica set switches automatically when ...

Posted by Cheap Commercial on Sat, 04 Apr 2020 19:15:46 -0700

Oracle database inserts data in table B into table A in batches

Business description: table A is the detailed statement of table B. now it is required that table B has millions of records. Insert the relevant records of table B in table A. Preparation: oracle database, database tool pl\sql, stored procedures written in the package. Implementation ideas: 3.1 get the total data volu ...

Posted by name1090 on Sat, 04 Apr 2020 13:06:07 -0700

[Seata microservice distributed transaction] 2. Construction of Seata microservice distributed transaction project

Citation dependency <!--seata--> <dependency> <groupId>com.alibaba.cloud</groupId> <artifactId>spring-cloud-starter-alibaba-seata</artifactId> <exclusions> <exclusion> <artifactId>seata-all</artifactId> <groupId>io.seata</groupId> &lt ...

Posted by paul2463 on Sat, 04 Apr 2020 03:27:30 -0700

C ා basic knowledge series-7 Linq details

Preface In the previous article, I briefly introduced Linq's entry-level usage. This article tries to explain some more in-depth usage methods. Unlike the previous article, I will first introduce the support methods in Linq, and then write them in the form of method chain and SQL like, guided by the actual requirements. Introduction to pre conc ...

Posted by rjs34 on Sat, 04 Apr 2020 02:58:21 -0700