How to enable Hibernate logs in Spring Boot

In Spring boot, hibernate logs should be enabled to debug the database connection and SQL query execution. By default hibernates logs are disabled in spring boot application. The hibernate logs…

Circular view path

The Circular view path error in spring boot occurs when the request mapping url and the model view url are the same in a rest controller method and no ViewResolver…

Spring Boot @Value Annotation

@Value spring boot annotation is used to inject values from the properties file into the java variables that have been configured. The @Value annotation in spring boot is used to…

Spring Boot @Autowired Annotation

In the spring boot, @Autowired annotation is used for dependency injection.In spring boot application, all loaded beans are eligible for auto wiring to another bean. The annotation @Autowired in spring…

How to Validate Request Parameters in Spring Boot

In the Spring Boot MVC, the url contains query parameters. These query parameters are identified as request parameters. The request url contains query parameters. The spring boot identifies a request…