JDBC Realm of Apache shiro's built-in Realm

Realm Profile: Again, data domains, Shiro, and connectors for secure data are like jdbc connecting to databases; getting information about authentication and authorization through realm realm effect: Shiro retrieves security data from Realm The default home realm: idae looks at realm inheritance relationships with default implementations a ...

Posted by Gappa on Sun, 13 Oct 2019 11:11:33 -0700

1. Springboot Development, Day 1

SpringBoot Learning, Day 1 Contents: 1, springboot Introduction 2, springboot Integration Serlet 3, springboot Integration filter I. Introduction to springboot Spring Boot is designed to simplify the initial build and development of new Spring applications. - Embedded Tomcat, without deploying WAR files Spring Boot is not an enhancement of Sp ...

Posted by rrijnders on Wed, 09 Oct 2019 08:14:56 -0700

Servlet - Data sharing through servletContext object

1. Introduction to ServletContext When the web container starts, it creates a ServletContext object for each web application, which represents the current web application. Multiple Servlets Share Data through ServletContext Objects Getting Initialization Parameters of web Applications Implementation of Request Forwarding with ServletContext Re ...

Posted by bdavey311 on Wed, 09 Oct 2019 00:03:17 -0700

Realization of Transaction Principles

Realization of Transaction Principles content affair Summary Principle Example Database transaction JDBC transaction content Transaction principle Implementing Database Transaction with SQL JDBC Implements Transaction Management affair Summary Transaction is a program unit that operate ...

Posted by chombone on Sun, 06 Oct 2019 18:01:57 -0700

The reason why Hive failed to connect to the database (Nested Throwables)

NestedThrowables: java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:mysql://hadoop:3306/metastore?createDatabaseIfNotExist=true, username = root. Terminating connection pool (set lazyInit to true if you expect to start your database after your app). Origin ...

Posted by mm00 on Sun, 06 Oct 2019 14:23:36 -0700

Leakage of connection pool using druid

Links to the original text: https://blog.csdn.net/peterwanghao/article/details/40071857 Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is com.alibaba.druid.pool.GetCo ...

Posted by kaumilpatel on Sat, 05 Oct 2019 18:57:04 -0700

MySQL Data Synchronizes Process to ES Search Engine in Full and Incremental Way

This article source code: GitHub. Click here || GitEE. Click here I. Detailed Configuration Scenario Description: MySQL tables synchronize with Elastic Search search engines in a full and incremental manner. 1. Download Content Elastic search version 6.3.2 logstash Version 6.3.2 mysql-connector-java-5.1.13.jar 2. Core configuration Path: / ...

Posted by beboo002 on Fri, 04 Oct 2019 11:12:52 -0700

Simple Use of Sharing-sphere 3.1.0

At the beginning, I spent half a day searching for sharding-sphere on the Internet and reading the source code for half a day (trying to use the @Configuration annotation instead of writing configuration files, I think there are too many configuration files, which are dazzling), and I didn't understand why. Later, I found a more complete answe ...

Posted by movieflick on Thu, 03 Oct 2019 21:47:23 -0700

MyBatis-14 Interface Binding Scheme and Multi-parameter Transfer

Interface Binding Scheme Effect After creating an interface, the implementation class of the interface is generated by mybatis. By calling the interface object, the sql written in mapper.xml can be obtained. Note: This solution is used in the later integration of mybatis and spring Implementation ...

Posted by CoderGoblin on Thu, 03 Oct 2019 16:13:44 -0700

Hibernate Framework of Java Framework

What is a framework? Answer: Semi-finished projects that can complete some functions JavaEE Three-tier Architecture Web Service Dao The 5 framework: SSH: Spring + Struts2 + Hibernate SSM: Spring + SpringMVC + MyBatis hibernate is an orm framework orm:object relation mapping. Object relation mapping orm ...

Posted by pmt2k on Wed, 02 Oct 2019 04:12:34 -0700