-
How to Stop WordPress Pingbacks and Trackbacks Spam
Review my WordPress wp_comments table and find out the file size is containing 500MB++ for around 1 millions++ comments! Dig inside and find out around 900k++ comments was marked as ‘trackback‘ and it linked back to a spammer’s website. The worst is the this type of ‘trackback‘ comments are kept increasing every second!
Date: 2019-08-11 View: 1370
-
How to stop logback status INFO at the start of every log?
The logbook will output its own status (INFO or WARN) at the start of the program, it’s really annoying!
Date: 2019-08-11 View: 1341
-
Spring Boot Custom Banner example
This article shows you how to replace the default Spring’s banner below with your custom banner.
Date: 2019-08-11 View: 1358
-
Spring Boot JDBC + MySQL + HikariCP example
In this article, we will show you how to create a Spring Boot JDBC application + MySQL and HikariCP.
Date: 2019-08-11 View: 1760
-
Spring Boot non-web application example
In Spring Boot, to create a non-web application, implements CommandLineRunner and override the run method, for example :
Date: 2019-08-11 View: 1602
-
MySQL Establishing SSL connection without servers identity verification is not recommended
Start a Spring Boot application and making a JDBC connection, hits the following warning messages on console :
Date: 2019-08-11 View: 1338
-
Spring Boot How to disable the Spring logo banner
Here are few ways to disable the Spring logo banner below :
Date: 2019-08-11 View: 1188
-
Spring Boot How to know which connection pool is used?
In Spring Boot, @Autowired a javax.sql.DataSource, and you will know which database connection pool is using in the current running application.
Date: 2019-08-11 View: 1387
-
Spring Boot JDBC + Oracle database + Commons DBCP2 example
In this article, we will show you how to create a Spring Boot JDBC application + Oracle database + Commons DBCP2 connection pool.
Date: 2019-08-11 View: 2457
-
WordPress Disable comments on attachments
After stopped and cleaned the WordPress pingback and trackback spams, those spammers have changed strategy to start spamming comments and trackbacks on the post attachments.
Date: 2019-08-11 View: 1638
-
Spring Boot + Spring Data JPA + Oracle example
In this article, we will show you how to create a Spring Boot + Spring Data JPA + Oracle + HikariCP connection pool example.
Date: 2019-08-11 View: 3175
-
Java 8 Optional In Depth
Java 8 has introduced a new class Optional in java.util package. It is used to represent a value is present or absent. The main advantage of this new construct is that No more too many null checks and NullPointerException. It avoids any runtime NullPointerExceptions and supports us in developing clean and neat Java APIs or Applications. Like Collections and arrays, it is also a Container to hold at most one value. Let us explore this new construct with some useful examples.
Date: 2019-08-11 View: 1374
-
Spring Boot Show Hibernate SQL query
Add the following lines in application.properties to log the Hibernate SQL query.
Date: 2019-08-11 View: 1604
-
Oracle PL/SQL – Rename Trigger
This article shows you how to use ALTER TRIGGER to rename a trigger.
Date: 2019-08-11 View: 3046
-
JPA Insert + Oracle Sequences example
A quick JPA + Oracle sequences example, for self reference.
Date: 2019-08-11 View: 2249