JAVA Annotation-based Report Mapping

With the gradual popularity of spring system, "annotations" are becoming more and more popular. Especially now that everyone talks about Restful, annotation-oriented development has become a new industry standard. The major frameworks are scrambling to introduce their own Restful annotations (@POST,@GET....) support. So let's also ...

Posted on Thu, 27 Jun 2019 11:52:04 -0700 by samoht

springboot Learning Notes (JPA Queries, Packaging Custom Queries)

For quite a long time, it is very difficult to implement the data access layer of the application. Too much template code must be written to perform simple queries and paging. Spring JPA aims to significantly improve the implementation of the data access layer by reducing the actual workload required. As a developer, you can write repository in ...

Posted on Tue, 25 Jun 2019 14:58:03 -0700 by LarsLai

ORA-01017 Errors and Some Typical Cases

Summary Basic Ideas for Resolving ORA-01017 Errors Documents and information that need to be viewed in general Case 1 Error 11g Case Sensitive due to password enhancement to ORA-01017 Case 2: ORA-01017 caused by case 2 password file password file Case 3: ORA-01017 error 121122 Password Version Exclusively due to password enhancement Case 4 ...

Posted on Tue, 25 Jun 2019 14:55:00 -0700 by sandeepjayan

JSON Type of MySQL 5.7

Original: http://nullwy.me/2019/06/mysq...If you find my article useful, feel free to appreciate it MySQL 5.7.8 started providing native support for JSON in August 2015 [doc1, doc2 ].MySQL support for JSON has come to life.Beginning in 2009 NoSQL Gradually, NoSQL such as key value pair database, document database, column family database, graph ...

Posted on Tue, 25 Jun 2019 13:30:50 -0700 by ahmadmunif

Effective Java Learning (1) Service Provider Framework

Definition What is a service provider framework? Service Provider Framework refers to a system in which multiple service providers implement a service, which provides multiple implementations for service providers on the client side, and Decouple them from multiple implementations. Looking at this definition, I am confused. So let's take a l ...

Posted on Tue, 25 Jun 2019 10:31:52 -0700 by PHPist

MyBatis 7: MyBatis plug-ins and examples - Print each SQL statement and its execution time

Plugins An excerpt from the official MyBatis document. MyBatis allows you to intercept calls made by mapped statements at some point. By default, MyBatis allows plug-ins to intercept method calls Executor(update,query,flushStatements,commint,rollback,getTransaction,close,isClosed) ParameterHandler(getParameterObject,setParameters) ResultS ...

Posted on Sun, 23 Jun 2019 16:48:34 -0700 by danbot26

WAF Security Application Firewall (openresty deployment)

I. Understanding WAF 1. Definition Web application protection system (also known as: Web application-level intrusion prevention system). English: Web Application Firewall, abbreviated as WAF. Using an internationally recognized saying: Web application firewall is a product that provides protection for Web applications by implementing a serie ...

Posted on Sat, 22 Jun 2019 15:26:07 -0700 by mmj

mysql automatic backup and recovery

backups 1.data base Timely backup of working scripts: (date and time as the name of the compressed file, decompression is sql script) /root/backup/script/backup_mysql.sh 2. Backup output path: /root/backup/mysql 3. Order to carry out planned tasks: # Crontab-e Opens the Scheduled Task Editor # Add the following (specified to start backup ...

Posted on Fri, 21 Jun 2019 11:43:47 -0700 by sandy1028

MyBatis plug-in: Printing SQL and its execution time

Plugins An excerpt from the official MyBatis document. MyBatis allows you to intercept calls made by mapped statements at some point. By default, MyBatis allows plug-ins to intercept method calls: Executor(update,query,flushStatements,commint,rollback,getTransaction,close,isClosed) ParameterHandler(getParameterObject,setParameters) Result ...

Posted on Wed, 19 Jun 2019 17:05:04 -0700 by sgalatas

JDBC links to local MySQL databases, creates table structures, and adds data and queries

First, we need to download the JDBC jar package. In this project, jar is placed in the lib directory. You can use my mysql-connector-java-5.1.42-bin.jar package directly. Then add a Main, link MySQL database with JDBC, create table structure, add data and query data Specific code: public class Main{ public static void main(String[] a ...

Posted on Wed, 19 Jun 2019 12:14:32 -0700 by ramjai