-
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: 1520
-
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: 1520
-
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: 1520
-
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: 1520
-
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: 1520
-
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: 1520
-
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: 1520
-
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: 1520
-
Spring Boot Show Hibernate SQL query
Add the following lines in application.properties to log the Hibernate SQL query.
Date: 2019-08-11 View: 1520
-
JPA Insert + Oracle Sequences example
A quick JPA + Oracle sequences example, for self reference.
Date: 2019-08-11 View: 1520
-
Spring Boot + Spring Data MongoDB example
In this article, we will show you how to create a Spring Boot + Spring Data MongoDB application, using Gradle build tool.
Date: 2019-08-11 View: 1520
-
Spring Data Add custom method to Repository
In this article, we will show you how to add a custom method to Spring Data JPA CrudRepository and MongoDB MongoRepository
Date: 2019-08-11 View: 1520
-
How to display all beans loaded by Spring Boot
In Spring Boot, you can use appContext.getBeanDefinitionNames() to get all the beans loaded by the Spring container.
Date: 2019-08-11 View: 1520
-
Spring Boot + Spring Data JPA + Java 8 date and time (JSR310)
In Spring Boot + Spring Data JPA application, to support the JSR310 java.time.* APIs, we need to register this Jsr310JpaConverters manually.
Date: 2019-08-11 View: 1520
-
Spring Boot Test How to disable DEBUG and INFO logs
Run the Spring Boot integration test or unit test, many annoying DEBUG and INFO logs are displayed in the console.
Date: 2019-08-11 View: 1520