QBC query of Hibernate

Customer.java public class Customer { public Customer() { super(); // TODO Auto-generated constructor stub } public Customer(String cust_name, String cust_source) { super(); this.cust_name = cust_name; this.cust_source = cust_source; } private Long cust_id; private String cust_name; private String cust_so ...

Posted by Nat on Mon, 02 Dec 2019 14:56:22 +0100

Blackboard class reptile pass - fifth pass

This is the fifth level of reptile in blackboard class image.png Same need to log in image.png On the basis of the above, although it is not as complicated as the fourth pass, the verification code link is added here, which is very hard. At that time, it took a lot of effort to install the relevant python package confi ...

Posted by chefmars on Sun, 01 Dec 2019 23:54:47 +0100

EMQ source code -- start of EMQ

It's back to erlang again. It's kind of friendly to go back to erlang after using it for a while. In the project, mqtt is also prepared to be used for message reporting. By the way, I want to see his code. In erlang, application s are managed by a supervisor. In emq, emqttd sup is the largest supervisor, and there are many supervisors or worker ...

Posted by Dragoa on Sun, 01 Dec 2019 06:26:35 +0100

Flask - geetest learning and use

Catalog I. relevant documents II. Back end logic sorting III. sorting out the verification ideas IV. initialization of related functions 4-1 validation initialization preprocessing 4-2 validation initialization result return V. quadratic check correlation function 5-1 front end verification calls function successfully ...

Posted by stretchy on Sun, 24 Nov 2019 23:25:14 +0100

My toolbox - chat room

Technical points websocket Technology When it comes to chat rooms, the preferred technology is WebSocket, which is a single TCP Connect to full duplex Communication protocol, which is more suitable for business requirements than long connection and short connection Personal summary: long and short connections and polling ar ...

Posted by makka on Wed, 20 Nov 2019 22:54:21 +0100

How do I implement the applet to use custom annotations to get the current logged in user???

Business Scenarios In our program code, many interface calls are limited and need to be logged in to operate. This article mainly uses definition annotations to intercept login validation when calling an interface. Custom Notes /** * Use this comment on the Controller method parameter, which injects the current login object into the ...

Posted by webdevelope on Tue, 19 Nov 2019 21:41:38 +0100

The implementation of go like waitGroup multi concurrent scheduling with toolefy based on Toole

Swoolefy is a lightweight and high-performance memory resident API and Web application service framework based on swoole. It highly encapsulates http, websocket, udp server, and extensible rpc service based on tcp. At the same time, it supports the installation and deployment of composer package. Based on practical application, swoolefy abstrac ...

Posted by BrandonRoy on Tue, 19 Nov 2019 15:48:58 +0100

An example of RBAC permission management operation implemented by PHP Laravel5

According to different permissions, different functions are displayed in the menu bar, only the menu is limited. If the route is also limited, please improve and develop according to the example of the menu. Next, please study carefully the RBAC design of laravel 1. Create table (user table, role table, permission table, user role table, role p ...

Posted by Rangel on Mon, 18 Nov 2019 16:16:25 +0100

Django and Python build personal blogs and websites

Build a personal blog Preface: Why do I blog?Why did I start blogging? I'm not a big fan This article tells me, not only me, but also the new rookie like meTo write a blog and build a website is not to show off knowledge, or to entertain, but to summarize their knowledge, improve the structure system, and express their feelings Get to the point ...

Posted by audiomove on Sun, 17 Nov 2019 15:17:34 +0100

In depth explanation of Laravel's IoC service container

The article was forwarded from the professional Laravel developer community. Original link: https://learnku.com/laravel/t... as everyone knows, Laravel The function of inversion of control (IoC) / dependency injection (DI) is very powerful. Unfortunately, Official documents I didn't explain all of its functions in detail, so I decided to prac ...

Posted by maineyak on Fri, 15 Nov 2019 09:20:34 +0100