CentOS 7 PHP7 Enable session extension

Configuration Guide: http://php.net/manual/zh/refs.basic.session.php http://php.net/manual/zh/session.configuration.php Use the command: php -i Find the information for the printout session block session Session Support => enabled Registered save handlers => files user Registered serializer handlers => ph ...

Added by harlequeen on Fri, 10 Jul 2020 18:46:58 +0300

Three ways of querying hibernate

There are three main query modes common to hibernate: HQL, QBC (named query), and using native SQL query (SqlQuery) HQL Query * HQL (Hibernate Query Language) provides a rich and flexible way of querying, and using HQL for querying is also Hibernate's official recommended way of querying. * HQL is very similar in syntax structure to ...

Added by schoi on Fri, 10 Jul 2020 18:19:06 +0300

[Spring] Pure java for Spring-hibernate integration

First import the corresponding jar package for Spring-hibernate Then prepare the file for the database connectionHibernate.propertiesAlsoJdbc.properties Hibernate.propertiesFile: Configure the hibernate dialect and automatic table building hibernate.dialect=org.hibernate.dialect.H2Dialect hibernate.hbm2ddl.auto=create Jdbc.propertiesFi ...

Added by Master_Phantom on Wed, 08 Jul 2020 17:41:09 +0300

mybatis Series IV: Dynamic SQL

Dynamic SQL is a powerful feature of MyBatis.When using JDBC to manipulate data, concatenating conditions into SQL strings can be painful if there are too many query conditions. The usual solution is to write a lot of if-else conditional statements and strings to concatenate, and make sure you don't forget spaces or omit commas at the end of fi ...

Added by jaikar on Tue, 07 Jul 2020 18:08:09 +0300

ActiveMQ encoding implementation

1. ActiveMq coding implementation Create a new maven project corresponding to pom.xml Some contents of the file are as follows. jdk is 1.8 and other configurations are generated automatically. <dependencies> <dependency> <groupId>junit</groupId> <artifactI ...

Added by IcedEarth on Wed, 24 Jun 2020 08:20:44 +0300

Authentication and authorization of spring security oauth2.0

In addition to oauth and shiro, we learn oauth 2.0 here 1.1 Authentication and authorization are two basic concepts to solve software system security. Authentication is to verify whether the user's identity is legal, and authorization is to verify whether the user has the authority to operate resou ...

Added by phpnwx on Sun, 21 Jun 2020 13:26:10 +0300

MyBlog background development

Java back end interface and Vue front end 1. See the effect first publish an article Background login Blog details Java back end interface development: Using springboot+mybaitsPlus+shiro+jwt+lombok+redis; database mysql5.7+ Here, we use IDEA to develop the background interface. It's easy to create a ...

Added by sergio-pro on Sat, 20 Jun 2020 10:11:20 +0300

Let your code tell its story

Yunqi information:[ Click to see more industry information]Here you can find the first-hand cloud information of different industries. What are you waiting for? Come on! Now it's easy to manage the state in the React functional component with Hooks. I've written about "using custom Hooks as a service" and "functional programming ...

Added by stukov on Tue, 16 Jun 2020 08:37:36 +0300

Notes on Python Programming: from introduction to practice

Learning notes from "Python Programming: from introduction to practice" (by Eric Matthes of the United States). Mainly for Python 3. Python uses indentation to determine the relationship between a line of code and the previous line of code. In the previous example, the lines of code that d ...

Added by cli_man on Sun, 14 Jun 2020 06:59:49 +0300

Logue P3796: AC automaton template (enhanced)

2020.6.13 This paper borrows @ hyfhaha's idea of problem solving. The day before yesterday, I went back to school to see my teacher. They were all the same. They didn't change at all. The teacher was also very happy to see us. He left us to study at night and then let us go. A-Level class asked cs about ...

Added by iamtom on Sat, 13 Jun 2020 07:40:35 +0300